📜  JSON 解析错误:无法识别的令牌“<” - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:59.035000             🧑  作者: Mango

代码示例1
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