Can I use webwrite to make a PUT request?
I’ve been able to successfully use the ‘webwrite’ and ‘webread’ functions for POST and GET requests for REST API calls in Matlab. Now, I need to make a small PUT request without any body/data.
Is there a way to use webwrite for this purpose? I’ve read about the matlab.net.HTTP.Request Class in THIS page, but it seems complicated – how do I send a BEARER authorization token and the PUT request without any body/data? It would be nice if webwrite could handle PUT requests as well.
Thanks,
PVI’ve been able to successfully use the ‘webwrite’ and ‘webread’ functions for POST and GET requests for REST API calls in Matlab. Now, I need to make a small PUT request without any body/data.
Is there a way to use webwrite for this purpose? I’ve read about the matlab.net.HTTP.Request Class in THIS page, but it seems complicated – how do I send a BEARER authorization token and the PUT request without any body/data? It would be nice if webwrite could handle PUT requests as well.
Thanks,
PV I’ve been able to successfully use the ‘webwrite’ and ‘webread’ functions for POST and GET requests for REST API calls in Matlab. Now, I need to make a small PUT request without any body/data.
Is there a way to use webwrite for this purpose? I’ve read about the matlab.net.HTTP.Request Class in THIS page, but it seems complicated – how do I send a BEARER authorization token and the PUT request without any body/data? It would be nice if webwrite could handle PUT requests as well.
Thanks,
PV rest, webwrite, webread, put request MATLAB Answers — New Questions