JSON parse error: syntax error, expect {, actual error, pos 0, fastjson-version 1.2.58; nested exception is com.alibaba.fastjson.JSONExcetion: syntax error, except {, actual error, pos ...

The error message tells you the parameters you need is to submit json type. Therefore, POST request carries data required serialization at json.dumps (data).

Guess you like

Origin www.cnblogs.com/aaronthon/p/11609185.html