Answers for "JSON Parse error: Unrecognized token '<'"

0

JSON Parse error: Unrecognized token '<'

fetch("http:/example.com", {method: "POST",
  body: "uname=value1&password=value2" // <-- Post parameters        
})
.then((responseData) => {
  AlertIOS.alert(
      "POST Response",
      "Response Body -> " + JSON.stringify(responseData.body)
  )
}).done();
       this.props.navigation.navigate("Home")
};
 Run code snippet
Posted by: Guest on October-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language