Axios: getting two requests OPTIONS & POST
Non-simple CORS requests via AJAX are pre-flighted. Read more about it here. This is a browser behavior and nothing specific to axios. There’s nothing inherently wrong with this behavior and if it’s working for you, you can just leave it. If you insist on getting rid of it, there are a few ways you can … Read more