Answer the question
In order to leave comments, you need to log in
REST API Yandex.Disk PHP?
Good evening. This code on the local works without errors (downloading the file to YaDisk using the link), but when transferred to the server, it knocks out in the headers: 405 METHOD NOT ALLOWED
Answer the question
In order to leave comments, you need to log in
If we assume that the code is identical, then most likely different versions of the curl.
In any case, it is not clear where CURLOPT_POST has to do with it
Has your issue been resolved? I can send my code for sending a file to Yandex Disk. And by the way, where is your code? He is not in the question.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question