Hi team,
I want to change from “–data” to “–data-binary” in CURL request example, but I cannot find a way to do that. Can you please help?
Thank you.
Hi team,
I want to change from “–data” to “–data-binary” in CURL request example, but I cannot find a way to do that. Can you please help?
Thank you.
Hi @Dung_H_Nguyen,
Can you please share the OpenAPI request definition that this shows for? I’d like to see in which cases we should be using --data
vs --data-binary
, and accordingly show it automatically. If you would like to share it privately, please send it to hello@developerhub.io.
The change is now made. Curl requests will show --data-binary
when request media type is application/octet-stream
.
Hi @zed ,
I’ve edited the document to add media type as your mention, but it doesn’t display correctly. Is there anything wrong in my editing?