syrius
15.12.2017, 19:33
Hello,
ich verzweifle gerade an der API von Openload.co bei dem Versuch per cURL die Accountinfo abzurufen.
Ressourcen
https://openload.co/api#accountinfos
login="..."
apikey="..."
Aufruf
curl -sS ${proxy_detail} -A "${agent}" -L "https://api.openload.co/1/account/info?login={login}&key={apikey}"
curl -sS ${proxy_detail} -L "https://api.openload.co/1/account/info?login={login}&key={apikey}"
curl -sS -L "https://api.openload.co/1/account/info?login={login}&key={apikey}"
Result
{"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:
curl -sS ${proxy_detail} -L "https://api.openload.co/1/file/ul?login=${ACCOUNT_USER}&key=${ACCOUNT_PASS}"
Any ideas?
ich verzweifle gerade an der API von Openload.co bei dem Versuch per cURL die Accountinfo abzurufen.
Ressourcen
https://openload.co/api#accountinfos
login="..."
apikey="..."
Aufruf
curl -sS ${proxy_detail} -A "${agent}" -L "https://api.openload.co/1/account/info?login={login}&key={apikey}"
curl -sS ${proxy_detail} -L "https://api.openload.co/1/account/info?login={login}&key={apikey}"
curl -sS -L "https://api.openload.co/1/account/info?login={login}&key={apikey}"
Result
{"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:
curl -sS ${proxy_detail} -L "https://api.openload.co/1/file/ul?login=${ACCOUNT_USER}&key=${ACCOUNT_PASS}"
Any ideas?