How to get response header in react native android?
问题 Hello i want to get response header after fetch POST request. I tried to debug to see what inside response with console.log(response) . I can get response bodies from responseData but i have no idea how to get the header. I want to get both header and the body. Please help. thanks:) Here's the example what i've done: fetch(URL_REGISTER, { method: 'POST', body: formData }) .then((response) => response.json()) .then((responseData) => { if(responseData.success == 1){ this.setState({ message1: