Curlの使い方

180 ワード

1.json形式でpostリクエストを送信する
 curl -H "Content-Type: application/json" -X POST  --data '{"data":"1"}'  http://127.0.0.1/user/login