Wrong:
$ curl -i -X POST -H “Content-Type:application/json” -d ‘{“firstName”: “Frodo”, “lastName”: “Baggins”}’ http://localhost:8080/people
True:
$ curl -i -X POST -H “Content-Type:application/json” -d “{ “firstName” : “Frodo”, “lastName” : “Baggins” }” http://localhost:8080/people
It’s windows thing!
坐标
fix JSON parse error Unexpected character (‘‘‘ (code 39)) #24
最新推荐文章于 2023-10-24 17:32:21 发布