Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

How to escape double quotes in url

Sharan
New Contributor III
New Contributor III

Hi,

can anyone help with the below query,

how to exclude the double quotes in a url.

https://api12test**.sapsf.eu/odata/v2/EmpJob?$filter=userId+eq+"${userIdentifier}.json"&fromDate=190...

 

I tried putting %22 instead of double quotes. but its not working. getting the below error,

2022-12-27T15:01:29.244567852Z stdout F 2022-12-27 15:01:29,244 [quartzScheduler_Worker-4] DEBUG println.PrintlnToLogger - Println :: | Error java.lang.IllegalArgumentException: Illegal character in query at index 68: https://api12preview.sapsf.eu/odata/v2/EmpJob?$filter=userId+eq+%22${userIdentifier}.json%22&fromDat...

 

Thanks,

Sharan

1 REPLY 1

rushikeshvartak
All-Star
All-Star

https://api12preview.sapsf.eu/odata/v2/EmpJob?$filter=userId+eq+%22$%7BuserIdentifier%7D.json%22&fro...


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.