You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
axiox.delete does support a request body. It accepts two parameters: url and optional config. You can use config.data to set the response body as follows:
axios.delete(url,{data: {foo: "bar"}});
post, put, and patch accept 3 parameters: url, data, and config so you can you can use the second parameter to set the response body like this:
axios.put(url,{foo: "bar"});
Hope it helps!
The text was updated successfully, but these errors were encountered:
馃敆
The text was updated successfully, but these errors were encountered: