fauna / faunadb-js

Javascript driver for Fauna v4 (deprecated)
https://docs.fauna.com/fauna/v4/
Other
702 stars 75 forks source link

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

Open ptpaterson opened 1 year ago

ptpaterson commented 1 year ago

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[bot] commented 1 year ago

Internal ticket number is FE-3077