autherization headers with Bangle.http #6927
Unanswered
espruino-discuss2
asked this question in
Bangle.js
Replies: 1 comment
-
Posted at 2024-05-26 by @devsnd You should be able to pass any kind of authorization in the You can for example check the sources of the android integration here: So basically you should be able to make a POST call with authorization headers like this:
(maybe you typed Posted at 2024-06-03 by Guptilious Thanks @devsnd. Didn't see your response until now. Think I was botching the syntax initially but your post has made everything clear. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2024-05-25 by Guptilious
Is there a way to pass an autherization header using the Bangle.http option?
I've tested passing this in as part of my POST, using the header option and also attempted to pass login creds via the URL I send the POST to but it isn't sent across.
I can pass the data via the Body as an alternative but wanted to check if autherization was supported in some way that I wasn't trying or if it's never passed with the request being sent out.
Beta Was this translation helpful? Give feedback.
All reactions