Close popover
Anirudh Jain (AnirudhJ)
Orange Business Services
Pega Developer
Orange Business Services
AnirudhJ Member since 2016 4 posts
Orange Business Services
Posted: October 1, 2019
Last activity: October 8, 2019

Send XML as String in Connect REST


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***

Low-Code App Development Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.