Originally posted by: tverma
I am working on POC for consuming rest service through ITXA. I am able to consume GET HTTP method rest service by creating type trees and map through OpenAPIImporter.
However, while consuming POST HTTP method rest service , I require to send json/xml data.
Can anyone please advise how to send json/xml data in request body to server.
I am executing below command from output card:
=VALID( GET( "HTTP" , "-URL http://10.166.120.76:8085/RestExampleTest/rest/json/post -METHOD POST -TV -HDR+ -TYPE application/json -STATUSLINE", PACKAGE(httpRequest)), LASTERRORMSG() )
Any help would be appreciated!
#IBMSterlingTransformationExtender#DataExchange#IBM-Websphere-Transformation-Extender