title: Integrating JSON API (Hood.ie) with React Native
body: <p>I'm currently trying to integrate hood.ie with React Native. The hoodie backend uses <a href="http://jsonapi.org/format/" rel="nofollow noreferrer">http://jsonapi.org/format/</a>.</p>
  
  <p>According to the spec "Clients MUST send all JSON API data in request documents with the header Content-Type: application/vnd.api+json without any media type parameters.", if this doesn't happen, the server will return a 415 error.</p>
  
  <p>The main issue I'm facing is that <code>charset=utf-8</code> is added to the <code>Content-Type</code> header, but it only happens on Android (see this Open Github issue <a href="https://github.com/facebook/react-native/issues/8237#issuecomment-295790510" rel="nofollow noreferrer">https://github.com/facebook/react-native/issues/8237#issuecomment-295790510</a> )</p>
  
  <p>As far as I can tell, this issue is related to the native portion of the code that performs the request because I've tracked the request deep down into <code>react-native/Libraries/BatchedBridge/NativeModules.js</code> and it looks like the headers remain untouched when ReactNative calls <code>BatchedBridge.enqueueNativeCall(moduleID, methodID, args, onFail, onSuccess);</code></p>
  
  <p>Has someone faced this issue before? Is there a workaround to prevent android from adding this (I know that's the standard [<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type]" rel="nofollow noreferrer">https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type]</a>, but JSON API doesn't like it, also it doesn't happen on iOS)?</p>