org.springframework.http.converter.HttpMessageNotReadableException

Initiate a request error: org.springframework.http.converter.HttpMessageNotReadableException

Check the request header:

 

 

 application/json  

Therefore, post request data: the need

data = json.dumps(data)
resp = request.post(url, data)


Guess you like

Origin www.cnblogs.com/zwp-627/p/12061492.html