Curl command to test JSON posts

1
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
Posted: April 4th, 2010 | Author: jay | Filed under: Code | Tags: , , , , , | No Comments »

Leave a Reply