[ https://jira.fiware.org/browse/HELP-7958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez updated HELP-7958:
---------------------------------
HD-Chapter: Data
Description:
Created question in FIWARE Q/A platform on 13-12-2016 at 20:12
{color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/41128616/how-to-add-a-custom-header-in-outgoing-notifications-with-orion
+Question:+
How to add a custom header in outgoing notifications with Orion?
+Description:+
I read the "Custom notifications" section in the NGSIv2 specification and I still have doubts in how to make this work.
Do I have to put in my subscribe POST the following code as a payload?
"httpCustom": {
"url": "http://foo.com/entity/${id}",
"headers": {
"Content-Type": "text/plain"
},
"method": "PUT",
"qs": {
"type": "${type}"
},
"payload": "The temperature is ${temperature} degrees"
}
How would be a complete payload with a httpCustom for a subscribe with Authentication/Authorization?
Lastly, is really necessary to use Rush, as stated at Rush Relayer? In this case, we have to use a "third-party" software that was updated almost 3 years ago. Why not Orion provides this? I would appreciate some help regarding this too.
was:
Created question in FIWARE Q/A platform on 13-12-2016 at 20:12
{color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/41128616/how-to-add-a-custom-header-in-outgoing-notifications-with-orion
+Question:+
How to add a custom header in outgoing notifications with Orion?
+Description:+
I read the "Custom notifications" section in the NGSIv2 specification and I still have doubts in how to make this work.
Do I have to put in my subscribe POST the following code as a payload?
"httpCustom": {
"url": "http://foo.com/entity/${id}",
"headers": {
"Content-Type": "text/plain"
},
"method": "PUT",
"qs": {
"type": "${type}"
},
"payload": "The temperature is ${temperature} degrees"
}
How would be a complete payload with a httpCustom for a subscribe with Authentication/Authorization?
Lastly, is really necessary to use Rush, as stated at Rush Relayer? In this case, we have to use a "third-party" software that was updated almost 3 years ago. Why not Orion provides this? I would appreciate some help regarding this too.
HD-Enabler: Orion
> FIWARE.Question.Tech.How to add a custom header in outgoing notifications with Orion?.
> --------------------------------------------------------------------------------------
>
> Key: HELP-7958
> URL: https://jira.fiware.org/browse/HELP-7958
> Project: Help-Desk
> Issue Type: Monitor
> Components: FIWARE-TECH-HELP
> Reporter: Backlog Manager
> Assignee: Fermín Galán
> Labels: custom-headers, encryption, fiware, fiware-orion, https
>
> Created question in FIWARE Q/A platform on 13-12-2016 at 20:12
> {color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/41128616/how-to-add-a-custom-header-in-outgoing-notifications-with-orion
> +Question:+
> How to add a custom header in outgoing notifications with Orion?
> +Description:+
> I read the "Custom notifications" section in the NGSIv2 specification and I still have doubts in how to make this work.
> Do I have to put in my subscribe POST the following code as a payload?
> "httpCustom": {
> "url": "http://foo.com/entity/${id}",
> "headers": {
> "Content-Type": "text/plain"
> },
> "method": "PUT",
> "qs": {
> "type": "${type}"
> },
> "payload": "The temperature is ${temperature} degrees"
> }
> How would be a complete payload with a httpCustom for a subscribe with Authentication/Authorization?
> Lastly, is really necessary to use Rush, as stated at Rush Relayer? In this case, we have to use a "third-party" software that was updated almost 3 years ago. Why not Orion provides this? I would appreciate some help regarding this too.
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy