Specifying additional HTTP headers
bilogic opened this issue · comments
Hi, possible to enter header Authorization: Bearer <token>
when calling a HTTP endpoint?
curl \
--request POST \
--header "Content-Type: application/json" \
--header "Authorization: Bearer *************" \
--data '{"json": "data"}' \
https://example.com/url
No, it's not currently possible to specify custom headers, but that's an easy feature to implement. I'll look into this when I get some free time.
Looking forward to it! Thank you!
hey man thanks! Already upgraded and testing it.
Seems that a Authorization cannot be updated/removed after it is added.
I can update or remove it, but after closing the app and starting it again, the header is back. Any idea?
Ok, false alarm, I missed the save
button. Thank you!
Yeah, I think it's not obvious that you must press the button in order for the changes to be recorded. Do you think it would be better if the app had autosave?
@optimalstrategy hmm, given the current UI, I guess what makes more sense is, if the data is dirty, pop up a prompt to save or discard when pressing the back arrow on Http Callback Settings