fanalin
(Matti Mäkitalo)
1
It’s great to be able to directly copy a curl command line from postman.
Having it the over way around would be great as well.
Example use case:
- using chrome, opening the devtools, going to the network section.
- right-clicking a request and then “Copy as curl”
- go to postman, click “import” (or in the “Add request” modal?) and just copy the CLI command there.
- postman parses the curl CLI arguments (-H, -d, the URL, -X and so on) and populates a new request with it.
What do you think of it?
Did you know you can generate a code snippet as cURL, and also import cURL under the Paste Raw Text tab?
Or did you mean to be able to do this by right-clicking and opening a context menu, more of a UX suggestion?
fanalin
(Matti Mäkitalo)
3
Hi joyce,
I was not aware of that (https://learning.getpostman.com/docs/postman/collections/data_formats/#importing-curl) and it is exactly what I’m searching.
Thank you very much.
system
(system)
Closed
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.