pocc
supports converting a postman request to a curl for easier use in the terminal.
cmd:
bash
pocc -c "<CollectionName>/<Folder>/*/<RequestName>"
output:
bash
curl --location --globoff --request POST 'https://example.com' \
--header 'Authorization: Bearer 12345678' \
--header 'Content-Type: text/plain' \
--data 'hey there'
auto completion
and more, take a look at issues to find out
to install through cargo run:
bash
cargo install pocc
NOTE: below installation methods coming in soon
* brew
* nix
* apt
pocc
's fundamental objective is to empower users to seamlessly interact with Postman collections, all within the convenience of their terminal.