The curl command:
curl -i -H "content-type: application/json" -X PUT -d '{"city"="Paris", "country"="Germany"}'
http://localhost:8080/myapplication/test/hello
The method that processes the request
Output:
message: hello
city:
country:
Question:
I would like to process the data that is contained within -d option of the curl command. What attributes should I specify in the REST API?
Thank you,
Nead.