Hello,
ich verzweifle gerade an der API von Openload.co bei dem Versuch per cURL die Accountinfo abzurufen.
Ressourcen
Code:
https://openload.co/api#accountinfos
Code:
login="..."
apikey="..."
Aufruf
Code:
curl -sS ${proxy_detail} -A "${agent}" -L "https://api.openload.co/1/account/info?login={login}&key={apikey}"
Code:
curl -sS ${proxy_detail} -L "https://api.openload.co/1/account/info?login={login}&key={apikey}"
Code:
curl -sS -L "https://api.openload.co/1/account/info?login={login}&key={apikey}"
Result
Code:
{"status":403,"msg":"Authentication failed","result":null}
Info
Ich kann versichern, dass die Variablen $login und $apikey zu 100% korrekt gefüllt sind. Es ist ausgeschlossen, dass die API nicht funktioniert - anderweitig getestet. Außerdem funktioniert der Upload auf die "gleiche" Methode wie folgt:
Code:
curl -sS ${proxy_detail} -L "https://api.openload.co/1/file/ul?login=${ACCOUNT_USER}&key=${ACCOUNT_PASS}"
Any ideas?