curl
https://curl.se/docs/manpage.html
-v
-X
デフォルトGET
--dataが指定されていたらPOST
-X POSTが省略できるとメッセージが出る
-d, --data
This makes curl pass the data to the server using the content-type application/x-www-form-urlencoded.
-F, --form <name=content>
This causes curl to POST data using the Content-Type multipart/form-data according to RFC 2388.
multipart/form-data (MDN)
-N, --no-buffer
バッファしない=ストリームで出力
ref: https://community.openai.com/t/api-assistant-streaming-curl/731219
IMO:Server-sent eventsをさばけるという理解
TODO:curlコマンドのオプションと統合する