My company provides a downloadable collection for interfacing with their product via Postman API. Iām able to authenticate and run the methods/responses within their provided collection within the Postman app, but runs of the exact same methods are failing within the Postman CLI. The majority of these require authentication.
Does the CLI retain authentication or am I doing something else wrong? Iām running the authentication POST method to authenticate beforehand, but the next data GET fails with 401 Unauthorized, 429B, 237ms. Assertion fails with status code 200 "expected false to be truthy at assertion:0 in test-script inside āmethod folder / method nameā.
Iām just trying to run āpostman collection run {collection ID} -i {method id} --environment {environment ID}ā
Iāve attempted to define the cookie jar during authentication and reference it when running the GET, but havenāt been able to get it to work.