R
R
Ruslan Absalyamov2020-08-04 10:40:44
RESTful API
Ruslan Absalyamov, 2020-08-04 10:40:44

How to make DELETE not go to OPTION?

It works for me on local without a problem, when I want to make a request to the server, then with the delete method, only the OPTION method leaves and returns only true, while the DELETE method does not work.
How can this be set up?
That is, instead of json, which should be, it returns only true. It doesn't even enter the controller.
5f2916839d93d177161118.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question