Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Endpoints Require Manual Encoding of Special Characters in URLs #149

Open
SimonHenz97 opened this issue Apr 29, 2024 · 0 comments
Open

Comments

@SimonHenz97
Copy link

Description:

Several API endpoints require the use of special characters in their URLs, which necessitates manual encoding before these URLs can be used with YAADE. This manual step seems counterproductive and could potentially lead to errors or inconsistencies.

Example:

The following URL:

${host}/CategorySet?$filter=( McatId eq "/HSEPA" )&$select=CatText,CatId

must be manually converted to:

${host}/CategorySet?$filter=(%20McatId%20eq%20%27/HSEPA%27%20)&$select=CatText,CatId

If the URL is not properly encoded, the API request fails.

Expected Behavior:

It would be more efficient if YAADE could automatically handle the encoding of special characters in URLs, ensuring both the reliability of requests and user convenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant