Error http 405 on Android

1

I am doing an Android application and when I make a POST request the error 405 method not allowed appears. How can I fix the problem in order to make the request satisfactory?

    
asked by Eric Retamero 16.10.2016 в 16:09
source

3 answers

1

That error is a response from the server that tells you that this method is not allowed. Are you sending the request well to the server?

    
answered by 16.10.2016 в 16:13
1

How well @idelcano tells you the error is in the Api request, el método POST no está permitido for the operation.

See the documentation of the API / RESTFUL of the webservice you want to use.

You can also replicate the operation, using an API / RestFul request test tool such as resttesttest when you get it you can replicate it in the Android code.

    
answered by 16.10.2016 в 17:35
0
  

POST error 405 method not allowed appears

When you make the request you get this error simply because you have not implemented your url the ability to receive requests by the POST method.

How to solve it? The url must support the POST method.

    
answered by 16.10.2016 в 21:22