Question

2
Replies
190
Views
Close popover
Siva Jyothi PamiReddy (Sivajyothi)
DHL

DHL
IN
Sivajyothi Member since 2015 11 posts
DHL
Posted: May 22, 2017
Last activity: May 23, 2017
Closed

How to invoke a service without converting the '%' to '%25' present in the query string parameter of URL in pega 6.3sp1

Hello everyone,

We are using pega 6.3sp1,we have a requirement to invoke an API using connect-REST get method to get some data as request.

For this we have to pass query parameters in URL.When i tried to invoke service after doing required configurations in Connect-REST rule,am receiving an error message.

when i tried to debug the pyInvokeRestConnector activity,i can see that in request URL % is replaced with %25.

EX: Original URL: <scheme>://<host>/<resource parameter>?<datamodel=ABC%3QABC_TEST&siteId=A-B-C-D>

at runtime this URL is changing as: <scheme>://<host>/<resource parameter>?<datamodel=ABC%253QABC_TEST&siteId=A-B-C-D>

please help to resolve this issue.

Thanks,

Jyothi.

Low-Code App Development Data Integration
Moderation Team has archived post