Error 405 when xmlhttpRequest performs a post on a server folder

0

I would like to use a code to upload several files to the server. My server is an IIS 8.5 and I have probed these tools:

link

and

link

The problem is that both of them return a 405 error when XMLHTTPRequest is executed on target folder.

Can someone help me?

    
asked by JRM 17.10.2016 в 10:25
source

2 answers

1

This may be due to:

1.- You are not specifying the route correctly, it includes an absolute route if possible, type link

2.- The folder does not have permissions or the execution method (GET, POST, PUT, etc ...) is not allowed.

In any case, could you show us how you have the code of the call?

    
answered by 17.10.2016 в 11:27
0

Error 405 comes from trying to use an HTTP 'X' method on a resource that does not support it. For example, make a POST to a URL that can only be GET.

Therefore, the URL obviously exists, but the HTTP method is not supported. If the URL did not exist, it would return a 404 error. You will have to publish some code or nobody will be able to help you in a substantial way.

    
answered by 17.10.2016 в 12:41