Did the API urls change? Suddenly get 400 bad request errors
-
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.
-
N necrevistonnezr marked this topic as a question on
-
N necrevistonnezr has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login