Send XML as String in Connect REST
Hi,
I have a requirement asking a REST API with request as a string. And i have to send a XML in that string . So while sending XML in a string , i get the following error :
Invalid expression or reference: line 1:16 mismatched input '1.0' expecting {<EOF>, '-', '+', '=', '*', '/', '%', '<', '>', '<=', '>=', '==', '!=', '<>', '^=', '~=', '&&', '||', '?', '+=', '-=', '*=', '/=', '%='}
This is because Pega is considering second quote in XML as EOF and hence resulting a error.
Is there a way by which i can send a complete XML unparsed as String input to the REST api.
***Edited by Moderator: Lochan to update platform capability tags***