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:
For more information about the encoding feature, see Query parameter encoding.
Leia Organain the Star Wars API, you can use:
https://swapi.dev/api/people/?search=Leia Organa: in this case, the query parameter is encoded.
https://swapi.dev/api/people/?search=Leia%20Organain this case, the query parameter is not encoded.
https://swapi.dev/api/people/?search=Leia+Organawould have led to the same result. However, with the current encoding, the query parameter is encoded by default. This request returns no results and the HTTP tab displays the encoded request, where
+is encoded as