- Send a RESTful post data changes to options
- Can't use "Options" in Post Call - Is there a way around this?
- iOS emulator HTTP POST convert to OPTIONS
- When i send a post method it will change automatically into options
- …
This is only relevant when developing your app and testing in your browser. This will not happen on a device/simulator. So while you can set Access-Control-Allow-Origin: *
, it is not something I would recommend you push to production of your backend if the backend is used elsewhere than only in the apps. Either proxy, or only set the ACAO header while developing.
Like I’ve said elsewhere, your goal shouldn’t really be to get around the OPTIONS request, but to handle it properly. imo