I'm trying to perform API calls with Newman on zsh on McBook.
I tried this command:
newman run https://api.getpostman.com/collections/{{$collectionID}}?apikey={{$APIkey}}
-e https://api.getpostman.com/environments/{{$envID}}?apikey={$APIkey}
, but it doesn't recognize the collection:
(zsh: no matches found: https://api.getpostman.com/environments/{{$collectionID}}?apikey={$APIkey}})
When i try with quotes, it doesn't recognize the env parameter:
newman run "https://api.getpostman.com/collections/{{$collectionID}}?apikey={{$APIkey}}"
-e "https://api.getpostman.com/environments/{{$envID}}?apikey={$APIkey}"
zsh: command not found: -e