I am running a cloud server on a raspberry pi (raspian) and like to tell my host the ip adress. To this end, the provider of my URL provides an API which works by sending:
If I enter this into the browser (with the correct parameters, obviously), I get the message "Hostname updated."
To automate this process, I'd like to do the same via the command line. After reading about the
curl command I tried
curl --data "user=<username>&pwd=<pwd>&host=<hostname>" https://<provider_url>/upd.php
as the string given by
--data is supposed to be appended to the URL with an '?' and every argument separated by '&'. However, I receive error messages on 'inv