SyntaxFix
Write A Post
Hire A Developer
Questions
Normally the parameter -d is interpreted as form-encoded. You need the -H parameter:
-d
-H
curl -v -H "Content-Type: application/json" -X POST -d '{"screencast":{"subject":"tools"}}' \ http://localhost:3570/index.php/trainingServer/screencast.json