React Native - Fetch POST request is sending as GET request : <p>I'm having issues when using FETCH.</p>

<p>I am trying to make a POST request using FETCH in react-native.</p>

<pre><code>    fetch("http://www.example.co.uk/login", {
        method: 'POST',
        headers: {
            'Accept': 'application/json',
            'Content-Type': 'application/json'
        },
        body: JSON.stringify({
            username: 'test',
            password: 'test123',
        })
    })

        .then((response) =&gt; response.json())
        .then((responseData) =&gt; {
            console.log(
                "POST Response",
                "Response Body -&gt; " + JSON.stringify(responseData)
            )
        })
        .done();
}
</code></pre>

<p>When I inspect this call using Charles it is recorded as a GET request and the username and password that should be in the body are not there.</p>

<p><a href="https://i.stack.imgur.com/4bITU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4bITU.png" alt="enter image description here"></a></p>

<p>Can anyone help with this issue?</p>
