Re: Tearing my bloody hair out.
EAS EDV-Analyse Sandro Sabatini
when I type "man curl“ in the terminal on my Mac then it reports:
When used, this option will make all data specified with -d, --data, --data-binary or --data-urlencode to be used in
an HTTP GET request instead of the POST request that otherwise would be used. The data will be appended to the URL
with a '?' separator.
If used in combination with -I, --head, the POST data will instead be appended to the URL with a HEAD request.
If this option is used several times, only the first one is used. This is because undoing a GET doesn't make sense,
but you should then instead enforce the alternative method you prefer.
so the option for using GET is not -H but -G.
Further, there is the following option for the user agent:
-A, --user-agent <name>
(HTTP) Specify the User-Agent string to send to the HTTP server. To encode blanks in the string, surround the string
with single quote marks. This can also be set with the -H, --header option of course.
If this option is used several times, the last one will be used.
I never used that, just a hint to use the man pages of curl.