I'm using axios
whenever I call API it would be called twice as I see in network
in chrome devtools
in the devtool and in the header of the network first one's header looks like this which I don't recognize the content specially the part of request method
Request URL: "MY URL"
Request Method: OPTIONS //i'm confused in here
Status Code: 204
the example above has no success for sending request
but this one is the one which has a successful request
Request URL:'MY URL'
Request Method: POST
Status Code: 200