mui-toolpad icon indicating copy to clipboard operation
mui-toolpad copied to clipboard

Support GET, POST, DELETE, query methods

Open oliviertassinari opened this issue 3 years ago • 2 comments

Duplicates

  • [X] I have searched the existing issues

Latest version

  • [X] I have tested the 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

oliviertassinari avatar Jun 25 '22 15:06 oliviertassinari

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

prakhargupta1 avatar Aug 23 '22 09:08 prakhargupta1

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

Janpot avatar Aug 23 '22 09:08 Janpot