Signup.js“,”errors“:[{”description“:”SyntaxError:

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Signup.js“,”errors“:[{”description“:”SyntaxError:



enter image description hereI am started ReactNative API call but getting this issue, please help how to solve this.
I have tested this Url call in PostMan it's working perfectly.


[![fetch("http://test/webservice.php?action=registration",
{method: "POST",
body: JSON.stringify({
name: 'test',
username: 'test',
email: 'test@gmail.com',
password: 'agc123',
mobile: '7897897897',
device_token: 'token',
device_type: 'ios',
lang: 'en'})})

.then((response) => response.json())
.then((responseData) => {
AlertIOS.alert(
"POST Response",
"Response Body -> " + JSON.stringify(responseData.body)
)
})
.done();]





Which version of React Native and Machine are you using?
– Aravind S
1 min ago





react-native-cli: 2.0.1 react-native: 0.56.0 ubuntu
– Payal Javiya
10 secs ago









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

'Series' object is not callable Error / Statsmodels illegal variable name