curl download error
Hi,
This windows command:
curl --location --max-redirs -1 --header 'X-OSMB-Api-Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' -o boundary.geojson "https://osm-boundaries.com/api/v1/download?db=osm20251201&osmIds=-21335&format=GeoJSON&srid=4326&landOnly=true
gives this:
curl: (3) URL rejected: Bad hostname
Unauthenticated and basic-level members cannot use the database osm20251201.
Of course I've tried with my api key.
Why?

I've got it, it works now!
the single quote ' is not working on win (because of the & characters in the url). so it should replaced by double quotes " in the header also:
curl --location --max-redirs -1 --header "X-OSMB-Api-Key: xxxxxxxxxxxxxxxxxxxxxxxxxx" --output boundary.geojson "https://osm-boundaries.com/api/v1/download?db=osm20251201&osmIds=-21335&format=GeoJSON&srid=4326&landOnly=true"