2021-11-17から1日間の記事一覧
文字列 curl -X POST -H "Content-Type: application/json" -d '{"foo":"foobar", "id":"123"}' localhost:8000/foobar/ JSONファイル(@つけるだけ) curl -X POST -H "Content-Type: application/json" localhost:8000/foobar/ -d @sample.json
文字列 curl -X POST -H "Content-Type: application/json" -d '{"foo":"foobar", "id":"123"}' localhost:8000/foobar/ JSONファイル(@つけるだけ) curl -X POST -H "Content-Type: application/json" localhost:8000/foobar/ -d @sample.json