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
From what I can tell, it is not currently possible to set an arbitrary header (e.g. a cookie, or some other "custom" header) nor is it possible to send a custom request body (like the body of a post)
Two questions:
Is there some way to do this that I just don't see?
If not, is this something that will be considered for development and/or will you accept a PR?
I realize supporting an arbitrary body takes a little bit more work as you will also need to set the content-length, but do simply add headers should be relatively easy. Is there a chance of this being added any time soon?
I would envision this being implemented as a repeatable option, similar to how curl does it- -H 'SomeHeader: value' -H 'OtherHeader: value2' or for a post body, maybe just -B <non-wrapped base64 string>
Thanks
The text was updated successfully, but these errors were encountered:
So I searched open issues for this, but not open PRs. I now see that #68 is open for work on this. I'll leave this open for now until that's complete unless you prefer to close it
From what I can tell, it is not currently possible to set an arbitrary header (e.g. a cookie, or some other "custom" header) nor is it possible to send a custom request body (like the body of a post)
Two questions:
I realize supporting an arbitrary body takes a little bit more work as you will also need to set the content-length, but do simply add headers should be relatively easy. Is there a chance of this being added any time soon?
I would envision this being implemented as a repeatable option, similar to how
curl
does it--H 'SomeHeader: value' -H 'OtherHeader: value2'
or for a post body, maybe just-B <non-wrapped base64 string>
Thanks
The text was updated successfully, but these errors were encountered: