mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
964 stars 243 forks source link

Support GET, POST, DELETE, query methods #611

Closed oliviertassinari closed 2 years ago

oliviertassinari commented 2 years ago

Duplicates

Latest version

Summary 💡

Support different types of query methods. We currently only support GET.

Screenshot 2022-06-25 at 16 58 49

More benchmark https://www.notion.so/mui-org/Queries-6c9f84d68db5466c9e2738633deaa1e7

Examples 🌈

No response

Motivation 🔦

No response

prakhargupta1 commented 2 years ago

This is already done in functions data source. Further enhancements to this are being explored in https://github.com/mui/mui-toolpad/issues/777

Would it make sense to provide templates for each of the above request method, so that the user doesn't have to start from scratch? @Janpot

Janpot commented 2 years ago

I'm still on a longer standing effort to bring POST request bodies to the fetch datasource and some updates on how we handle binding values as we discussed in a few team meetings ago https://github.com/mui/mui-toolpad/pull/721