-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending POST request returns with error but is not the case #4
Comments
Where do you see this error? In your browser's JS console? |
This error is visible in the browser. |
I am doing test directly on the default server 😄 Here is the HTTP headers for the response of
|
Hm, I see a 200 when inspecting the response in the browser as well. But jQuery returns a status 0 with a "very descriptive" error that says Don't you get the error below in the console?
I see it. This is what is expected, since the server needs to have CORS configured to accept requests from a browser in another domain. |
When sending a POST request we get an error message :
Server responded with status: 0: error
. But what truly happens is that the message is sent, correctly handled and we get the XML answer back.The text was updated successfully, but these errors were encountered: