Could not write request: no suitable HttpMessageConverter found for request type [org.json.JSONObject] and content type [application/json]
问题 I'm digging myself in trying to send a POST request with a JSON payload to a remote server. This GET curl command works fine: curl -H "Accept:application/json" --user aaa@aaa.com:aaa "http://www.aaa.com:8080/aaa-project-rest/api/users/1" -i And this POST one works fine too: curl -H "Accept:application/json" -H "Content-Type: application/json" "http://www.aaa.com:8080/aaa-project-rest/api/users/login" -X POST -d "{ \"email\" : \"aaa@aaa.com\", \"password\" : \"aaa\" }" -i And so I'm trying to