Jay, trying to remember...

Curl command to test JSON posts

curl -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"user":{"username_or_email":"username","password":"password"}}' http://fas/test_json_post

comments powered by Disqus