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

Add config property to deactvate URL-encoding of the parameters passed to the API #23

Open
frmichel opened this issue Jan 8, 2025 · 0 comments

Comments

@frmichel
Copy link
Owner

frmichel commented Jan 8, 2025

The API of openweathermap.org seems to have a problem with the URL encoding of the '.' as '%2E' in the following:
curl 'http://api.openweathermap.org/data/2.5/weather?lat=43%2E5200&lon=5%2E45000&units=metric&appid=KEY'

But this invocation works:
curl 'http://api.openweathermap.org/data/2.5/weather?lat=43.5200&lon=5.45000&units=metric&appid=KEY'

Solution: add a parameter in the config.ini of a service to deactivate the url-encoding of the parameters.

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