Encoding issues with plus signs
The encoding behavior in Talend Cloud API Tester has changed, which can cause issues in queries containing a plus sign.
Talend Cloud API Tester has moved from using Webform encoding to Percent-encoding. This change was done to improve the support of OData APIs, such as the ones generated in Talend Cloud Data Inventory . This should not have any impact, unless you are using query parameters containing plus signs (+) that need to be interpreted as spaces.
The plus sign is no longer interpreted as encoding by Talend Cloud API Tester, which means that the Encode before sending option is enabled by default on query parameters that contain a +. If this option is not disabled, the + is encoded as %2B and therefore interpreted as an actual plus sign and not a space.
- Disable the Encode before sending option on your query parameter.
- Replace the + signs with spaces or with the new encoding for spaces: %20.
For more information about the encoding feature, see Query parameter encoding.
Example
- https://swapi.dev/api/people/?search=Leia Organa: in this case, the query parameter is encoded.
- https://swapi.dev/api/people/?search=Leia%20Organa in this case, the query parameter is not encoded.