Pass XML input to REST API.

Database

Pass XML input to REST API.

Hi,

I am using REST API for driver less real time connectivity. I am able to pass JSON input to the REST API and get JSON output.

I am looking for sample code(Just to understand the format) to pass/make API call from XML and get output as XML.

Please help me if you have pases input to REST API as XML. Would appriciate your immediate help.

JSON call to API:

{

"query":"exec SCHEMA_INC.MC_ABC('CSPWSM1,8SG3VZ1') "

}

Thanks,

Gokul