You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possible to not make an OPTIONS call before POSTing? #225
Hey, I'm working with a Java backend which I do not have control over and it doesn't accept the OPTIONS calls axios likes to send before POSTing things, is it possible to skip the OPTIONS and just naively send a POST? I can't see an obvious way to do it. Am I missing something?
The OPTIONS is a preflight request for CORS to verify if it's okay to make the request. There's no way around it if you're sending requests from one origin to another.
Activity
mzabriskie commentedon Feb 5, 2016
The
OPTIONSis a preflight request for CORS to verify if it's okay to make the request. There's no way around it if you're sending requests from one origin to another.Zensavona commentedon Feb 5, 2016
All good, thanks anyway!