I tried to use the Froxlor API with curl but I got stuck at "Invalid request header".
This is the curl command I am trying:
curl --location --request POST 'https://MYDOMAIN/api.php' \
--header 'secret: mysecretstring' \
--header 'apikey: myapikey' \
--header 'Content-Type: application/json' \
--data-raw '{
"command": "Froxlor.listFunctions"
}'
of course I insert the real domain and secret strings this is clear not the issue.
If I understand the code right it fails even befor