- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 15 Aug 2018 09:13:42 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 15 August 2018 09:14:05 UTC
The latter will issue a CORS preflight and that's not supported by httpbin.org. I get the exact same error with ```js x = new XMLHttpRequest(); x.open("POST", "https://httpbin.org/post1"); x.setRequestHeader("Content-Type", "application/json"); x.send(); x.onload = console.log; x.onerror = console.log; ``` so this really isn't an API issue. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/443#issuecomment-413140459
Received on Wednesday, 15 August 2018 09:14:05 UTC