Rest end point with parameter value containing single quote is not working
Summary
When Business object rest endpoint is queried with parameter value containing single quote, bad request error is throwedContent
I have a Business object containing details of collections. I have to retrieve rows from the BO by passing collection names as parameters. I have formed the query parameter for the collections BO rest end point. One of the collection value contains single quote in its name.
https://xxxxxxxx-xxxxxxx.builder.ocp.oraclecloud.com/ic/builder/design/xxxxxx/1.0/resources/data/xxxx?limit=2000&offset=0&onlyData=true&q=collection IN ('Prive'','Enchant')
When I pass the parameter with single quote I receive bad request error.
Tagged:
0