Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Segment POST requests getting blocked on Chrome with incorrect "Content-type" header #642

Open
rohan-saini opened this issue Sep 30, 2020 · 0 comments

Comments

@rohan-saini
Copy link

Hi, I followed the Segment quick-start exactly and have Anayltics.js loading correctly in my Angular web app. However, on chrome, all the POST requests sent to Segment are getting blocked because they all have "Content-type" of text/plain instead of application/json like it should be. This happens only on Chrome though, on Firefox the requests get through successfully. If I could get some guidance on how to fix this, that would be much appreciated! Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant