Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Dismissed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
Labels:
Description
Created question in FIWARE Q/A platform on 09-09-2022 at 09:09
Please, ANSWER this question AT https://stackoverflow.com/questions/73660060/create-subscription-with-url-including-bearer-token-in-the-header
Question:
Create subscription with URL including Bearer Token in the header
Description:
Hello FIWARE specialists,
I like to create a subscription, which pushes notifications to an external service.
The external service needs authorization with a barrier token.
If I use curl, I add "--header 'Authorization: Bearer XXX'".
How can I add a barrier token to the subscription request?
"notification": {
"attributes": [ "id", "type", "name", "location", "occupancy"],
"format": "normalized",
"endpoint":
},
Is there an option to add a header field to the "endpoint" setup in the subscription like:
"headers": "Authorization: Bearer XXX"
Hopefully, you can help me in that case.
Thanks, Knigge
Activity
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
Assignee | Ken Zangelin [ kzangeli ] |
Resolution | Dismissed [ 10102 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Summary | [fiware-stackoverflow] Create subscription with URL including Bearer Token in the header | FIWARE.Question.Tech.Create subscription with URL including Bearer Token in the header. |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
1h 1m | 1 | Ken Zangelin | 26/Sep/22 8:33 AM |
2022-09-26 05:31|CREATED monitor | # answers= 1, accepted answer= False