Did the API urls change? Suddenly get 400 bad request errors
Solved
Support
-
When running the firewall list update (https://forum.cloudron.io/post/80825), I get 400 bad request errors with these commands?
# Cloudron Blocklist API endpoint cloudron_api_endpoint="https://my.domain.net/api/v1/network/blocklist" # API Key for authentication (replace 'your-api-key' with your API key) api_key="omitted60cf1be44299e05f2ee3d03aef3b343" # Upload to Cloudron Blocklist API with wget echo "# Upload to Cloudron Blocklist API with wget..." wget --method=POST --header="Content-Type: application/json" --header="Authorization: Bearer $api_key" --body-file=temp_data.txt "$cloudron_api_endpoint" --verbose --output-document=output.txt
-
Thanks for the hint - trying that I got a more meaningful error notice. It was one of the ipdeny urls (IPv6 list for North Korea) that resulted in an empty HTML file, throwing off the ipfile format.
-
Thanks for the hint - trying that I got a more meaningful error notice. It was one of the ipdeny urls (IPv6 list for North Korea) that resulted in an empty HTML file, throwing off the ipfile format.
-
-