192
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

updated at

curlコマンドでPOSTする

よく忘れるのでメモ

curl -X POST -H "Content-Type: application/json" -d '{"Name":"sensuikan1973", "Age":"100"}' localhost:8080/api/v1/users

注: 「"」を「”」にtypoしないこと

参考: $ man curl

Register as a new user and use Qiita more conveniently

  1. You can follow users and tags
  2. you can stock useful information
  3. You can make editorial suggestions for articles
What you can do with signing up
192
Help us understand the problem. What are the problem?