Hello guys.
Today I´ve started attempting to consume a rest server.
When I try to save the model data on a local rest server, ExtJs sends the data as a POST METHOD.
When I try to save the model on a remote server, ExtJs sends the data as a OPTIONS METHOD.
What does it mean?
Why does it happen only on a remote rest server?
Besides, I don´t receive any kind of answer from the server.
The OPTIONS request is a result of cross-origin resource sharing (CORS) - it is a standard browser feature, not part of ExtJS itself. Have a search on Google for more information.
But Why ExtJs changes the method to OPTIONS instead of POST??
I´m creating a record on a REST server with absolute URL and due this ExtJs changes the Method to POST by itself
The webservice is waiting for POST, PUT, GET AND DELETE
Besides, I am trying to send some params but it doesn´t send them