User-829096311 posted
Hi
How can i get json using google api that needs authentication
e.g.
https://classroom.googleapis.com/v1/courses?courseStates=ACTIVE&key=XXXXXXXXXX
when i use this url i get this error
{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"status": "UNAUTHENTICATED"
}
}
how can i make this url returns a json without error