Answer the question
In order to leave comments, you need to log in
How to make a request to the Yandex.Disk API?
REST API Documentation https://tech.yandex.ru/disk/api/reference/capacity... :
A request for Drive data should be sent using the GET method.
https://cloud-api.yandex.net/v1/disk/
Answer the question
In order to leave comments, you need to log in
https://tech.yandex.ru/disk/api/concepts/quickstar...
It's written right there, at the very bottom. In the form of a header, you need to pass a token.
The resulting token should be passed in the Authorization header on every Drive API call, specifying the type of the token before its value. An example of such a header:
Authorization: OAuth 0c4181a7c2cf4521964a72ff57a34a07
This is how you can pass headers with jQuery.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question