2014-02-06 curlでPOSTする curl curlでPOSTしてリクエストボディにjsonを設定する場合の書き方 curl http://exampe.com/api/user -X POST -H 'Content-type: application/json' -d '{"id":"1","name":"kamatama_41","gender":"male"}'