Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

iOS POST method removes body #363

Open
@migzai

Description

@migzai

I'm using a fetch replacement:

const Fetch = RNFetchBlob.polyfill.Fetch window.fetch = new Fetch({ auto : true, binaryContentTypes : [ 'text/xml; charset=utf-8', 'text/plain; charset=utf-8' ] }).build();

and issuing the following request:

fetch(getURL(_hash), { method: 'POST', headers : { 'Content-Type' : 'application/x-www-form-urlencoded; charset=UTF-8;Base64' }, body: RNFetchBlob.base64.encode(String.fromCharCode.apply(null, _encData)) })

Versions:

  • react-native: 0.44.0
  • react-native-fetch-blob: 0.10.5

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions