cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I would like to consume an oData service from within my SCP Workflow. For this purpose, I have made the necessary destination configurations and added the associated values in the workflow's "Service Task properties".

I don't see any placeholders for the oData service request headers such as "X-Requested-With","Content-Type", "Accept" etc. Where should these be configured?

0 Likes
View Entire Topic
qmacro
Developer Advocate
Developer Advocate
0 Likes

In addition to tobias.breyer 's answer, I wanted to add a small point. If you're wanting to consume the OData service "simply as a set of REST-informed JSON resources" (not unheard of), you can always use the OData query parameter $format=json to ensure you get JSON back, in addition to the content-negotiation header you already mentioned. Just a thought.