Call 2 services in one flow

Not applicable

Hi everyone,

I need to do one proxy that call at 2 services.

The first call is for get token in response this token is one header and the method is GET.

The second call is for send one paylod and one parameter is the obtained token the method is POST.

I try first get Token with one Service Callout and after the Post method with one normal flow but i cant get response headers from Callout and i dont know if this is the better form for doing the proxy.

I dont know if the callout is correct in preflow Request and for get headers is the same in request or in response.

6457-callout.png

Thanks.

Regards.

0 1 102
1 REPLY 1

A couple comments

  1. you said "I dont know if the callout is correct in preflow Request". It's fine to use ServiceCallout for that purpose, and in that place.
  2. you said, " i cant get response headers from Callout". Why do you say this? What does it mean "can't"? What did you try? Did you look in the my.custom.response.header.foo variables? And?

Does that answer your questions? I wasn't clear on the exact question you were asking. You made some statements but didn't pose a direct question.