Closed jmlsf closed 6 years ago
@jmlsf An HTTP status of 0 means that the request failed and received 0 bytes as a response. If you look at your console you'll probably find something like this
In this case the request failed because Google does not have CORS headers on google.com (probably a good thing). So even though you can POST to it from curl and other similar clients, doing so from the browser will fail for security reasons. Hopefully that helps.
What about the :error-text
? Is that normal?
Yep. Just look at your network tab and you'll see that the request was rejected. You're not getting anything back from the server. Consider closing this ticket as this is not a bug.
If I run this simple code:
I get this response:
This result seems incorrect in several respects:
:status -1
, not a:status 0
.:error-text " [0]"
? That looks like some kind of interop error.