Posted By

kajinka13 on 02/07/12


Tagged

curl Bash post json


Versions (?)

Post in jSON


 / Published in: Bash
 

Post in jSON

  1. #!/bin/sh
  2.  
  3. # Invia un post JSON
  4. curl -v -H "Content-Type: application/json" -X POST -d '{ "param1": "one", "param2": "two"}' http://yoursite

Report this snippet  

You need to login to post a comment.