32
rated 0 times
[
35]
[
3]
/ answers: 1 / hits: 68334
/ 7 Years ago, mon, october 9, 2017, 12:00:00
I have an api
that uses jwt
for authencation. I am using this api for a vuejs
app. I am trying to display an image in the app using
<img src=my/api/link />
But the api
expects Authorization
header with jwt token
in it.
Can I add headers to browser request like this(Answer to few questions here has made me believe it's not possible)?
Is there any way around it(using js) or should i change the api
itself?
More From » html