Skip to content
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

Explictly set 'Content-Type': 'application/json' #674

Open
ptpaterson opened this issue Feb 21, 2023 · 1 comment
Open

Explictly set 'Content-Type': 'application/json' #674

ptpaterson opened this issue Feb 21, 2023 · 1 comment

Comments

@ptpaterson
Copy link
Contributor

Requests will fail in some environments if we do not set content type explicitly.

See this Stack Overflow question where the resolution was to add provide 'Content-Type': 'application/json' header to the client configuration.

https://stackoverflow.com/questions/75437045/react-native-connect-faunadb-typeerror-network-request-failed-on-android

@github-actions
Copy link

Internal ticket number is FE-3077

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

No branches or pull requests

1 participant