React-native: POST request works from iOS app, but has empty body when submitted from Android
React-native: POST request works from iOS app, but has empty body when submitted from Android I have a react-native app that's sending a POST request for user login to a Flask-based web application behind an nginx server proxy. This is the login code: async function signInPost(csrf, email, password, data) { let reqBody = { email, password, confirm: password } const url = dispatchEndpoint(host, "signin") const resp = await request.post(url, reqBody, { headers: { 'Accept': 'application/json', 'Content-Type': 'application/json', 'X-CSRFToken': csrf, } }); const respBody = resp.data; if (respBody.status === 'success') { return Promise.resolve(data); } if (respBody.hasOwnProperty('flash')) { return Promise.reject(new Error(respBody.flash)) } if (respBody.hasOwnProperty('form') && respBody.form.hasOwnProperty('errors')) { let es...