I am converting an ajax request into the Framework7 request API. The two are pretty much identical in terms of how they work so I haven’t had any problems so far. I have one request that is a DELETE which does not seem to be working properly. (NOTE that fw7 is the variable name I use for the Framework7 instance).
Success and Error functions…
Instead of putting the data in the request body it takes the data and shoves it in request URL as query data and also neglects to set the Content-Type header.
If I change the request to a POST without touching anything else it properly formats and sends the request. DELETE requests are allowed to have a body according to spec, and the endpoint is specifically looking for the request to have a DELETE method. Did I miss something here?