AnsweredAssumed Answered

Routing Json request issue

Question asked by PBarjon on Mar 17, 2019
Latest reply on Mar 17, 2019 by PBarjon



curl -X POST -H "Content-Type: application/json" -H "header1: abc=3" -H "header2: xyz" -d '{"Id" : "Id123"}'


Implemented above request using context variable with data type as Message, content type as application/json and expression as 



Then in routing assertion, set "request source" with the context variable, and selected Pass through only certain request headers and set header1 with custom value abc=3, header2 with custom value xyz.


This works fine. However, because of some other reqs, I need to be able to do the same without selecting Pass through only certain request headers. So I used Manage transport properties/headers assertion and created the 2 headers, header1 and header2, but things are not working this way. Get a blank response. Any ideas? I have also tried with creating an additional content-type header with value application/json with Manage transport properties/headers assertion...


Pls let me know how can troubleshoot this