You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.
There is no download Object in this project, so i've created my own:
class Github_Api_Download extends Github_Api{
public function getDownloads($repo, $username){
$string = 'repos/'.urlencode($username).'/'.urlencode($repo).'/downloads';
$response = $this->get($string);
die(print_r($response));
return $response;
}
}
When i run this, i'm getting only
Server Error HTTP 401: Unauthorized
it should be possible to get this without authentication, because if i use the url in the browser, it's working!
Also i've tested my authentication, and it's working, because all the actions which require the authentication(e.g. create new repo,etc..) are working fine
Anybody can help me?:)
The text was updated successfully, but these errors were encountered:
There is no download Object in this project, so i've created my own:
class Github_Api_Download extends Github_Api{
public function getDownloads($repo, $username){
$string = 'repos/'.urlencode($username).'/'.urlencode($repo).'/downloads';
$response = $this->get($string);
}
}
When i run this, i'm getting only
Server Error HTTP 401: Unauthorized
it should be possible to get this without authentication, because if i use the url in the browser, it's working!
Also i've tested my authentication, and it's working, because all the actions which require the authentication(e.g. create new repo,etc..) are working fine
Anybody can help me?:)
The text was updated successfully, but these errors were encountered: