I use Ubuntu and installed cURL on it. I want to test my Spring REST application with cURL. I wrote my POST code at the Java side. However, I want to test it with cURL. I am
Try to put your data in a file, say body.json and then use
body.json
curl -H "Content-Type: application/json" --data @body.json http://localhost:8080/ui/webapp/conf