Arisu Posted August 7, 2012 Share Posted August 7, 2012 As I expected, in the language section no one is going to answer my question. The question is how to configure the server to respond to fetchRemote requests? The example describes the downloading of images from a specific URL and use it as a texture. In practice, my web server responds to the request in such form: (ip)*.*.*.* - - [06/Aug/2012:18:15:10 +0400] "POST /8e95bdcd841249690804a68d1488a186.jpg HTTP/1.1" 405 172 "-" "-" 405 is a "HTTP Error 405 Method not allowed", that is the web server does not wish to give a picture by POST request. Error code given in callback function is 22 (CURLE_HTTP_RETURNED_ERROR). If I make a request to php-script and through it I give the contents of the picture, the response comes without any errors. I am using Apache2+nginx. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now