F
F
fedorenko_k2016-07-15 23:13:00
PHP
fedorenko_k, 2016-07-15 23:13:00

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

2 answer(s)
#
#algooptimize #bottize, 2016-07-15
@fedorenko_k

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

A
Alexander Makarov, 2016-07-21
@consme

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 question

Ask a Question

731 491 924 answers to any question