プロが教える店舗&オフィスのセキュリティ対策術

curl -X POST -d @- $slackurl

で、@-は標準入力からのデータ送信という意味で良いのでしょうか?

A 回答 (1件)

そうなります



参考)
https://curl.se/docs/manpage.html#-d
> -d, --data <data>
> ...
> If you start the data with the letter @,
> the rest should be a file name to read the data from,
> or - if you want curl to read the data from stdin.
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!