dawarich
dawarich copied to clipboard
Passing API key in header returns 400 for certain endpoint
OS & Hardware Ubuntu Server 22.04.5 LTS
Version 0.22.3
Describe the bug
The endpoint /api/v1/countries/visited_cities returns 400 when the parameter api_key is not passed (i.e. passed through header).
To Reproduce Make a request to the endpoint with the API key in the header instead of the url.
Expected behavior Return all visited cities per country, and return 200 status code
Screenshots n/a
Logs n/a
Additional context n/a