You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched existing issues and found nothing related to my issue.
Describe the feature you want to add
Currently, as far as I've seen, there is no support for cookies when running requests from the CLI. This is unfortunate since I have a use-case to run a folder of requests via CLI as part of a test suite. The first request in the folder would log in via an authentication mechanism that results in a cookie being set, and this cookie would be passed on in subsequent requests. However, short of writing unnecessarily complex pre and post request scripts, this is currently not feasible.
I would like Bruno CLI to support cookies for a single invocation of bru. For backwards, compatibility, I would think this would be an additional flag that defaulted to false.
I have checked the following:
Describe the feature you want to add
Currently, as far as I've seen, there is no support for cookies when running requests from the CLI. This is unfortunate since I have a use-case to run a folder of requests via CLI as part of a test suite. The first request in the folder would log in via an authentication mechanism that results in a cookie being set, and this cookie would be passed on in subsequent requests. However, short of writing unnecessarily complex pre and post request scripts, this is currently not feasible.
I would like Bruno CLI to support cookies for a single invocation of
bru
. For backwards, compatibility, I would think this would be an additional flag that defaulted to false.Attached is my PR to add this feature.
Mockups or Images of the feature
I think the call would look like this:
The text was updated successfully, but these errors were encountered: