Skip to content
Advertisement

Tag: react-native

Handling PHP response with Axios/React Native

I’m a React Native beginner, please excuse basic questions. I’m having trouble handling json returned from PHP in react native using axios get. My php returns (have tried both with and without headers part, and also tried with/without json_encode): My react native function is below (with the part I’m trying to get to work commented out) The console.log seems to

Advertisement