Having Issues While Trying To Pass %26 For Ampersand "&" Symbol In REST (GET) API Call in OSB
(Doc ID 2889634.1)
Last updated on NOVEMBER 15, 2023
Applies to:
Oracle Service Bus - Version 12.2.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
Unable to use "&" ampersand symbol in REST API URL query.
Example:
When trying to send a string "Company=Name & Address, as an Example",
https://......./Company=Name+%26+Address%2C+as+an+Example
The string gets decoded before it goes out of OSB as: "Company=Name & Address, as an Example".
Since the callee is also decoding the string from their end, it comes out wrong.
To prevent a double decoding, the ask is NOT to decode the string and leave the octets as is.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |