回答編集履歴

1

コード修正

2022/07/11 03:50

投稿

can110
can110

スコア38266

test CHANGED
@@ -1,6 +1,6 @@
1
1
  > この時どのようなコマンドで実行すればよいでしょうか?
2
2
 
3
- `curl -X POST -H "Content-Type: application/json" -d "{"hoge" : "huga"}" ~/test/`
3
+ `curl -X POST -H "Content-Type: application/json" -d "{\"hoge\" : \"huga\"}" ~/test/`
4
4
 
5
5
  参考:
6
6
  [curl.1 the man page](https://curl.se/docs/manpage.html)