Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3132

Re: Error while doing the PUT operation

$
0
0

Hi Umesh,

 

You see 'Method Not Allowed' error when the Service method is not implemented.

 

For example, When implementing POST, service method 'CREATE_ENTITY' has to be implemented and for PUT, service method UPDATE_ENTITY. So try changing your method to POST rather than PUT and see if it works.


Adding to this, generally when using POST method, we implement the 'GET_ENTITY' method (and not GET_ENTITYSET method) else it will result in some 415 error. Check that if it works that way.


 

Method Not Allowed Error.JPG

Here, in my service, I've implemented GET_ENTITY and POST (CREATE_ENTITY) and working fine. For the same process, if i try PUT service, getting this error. Try changing your method to POST once.


Regards,

Santosh


Viewing all articles
Browse latest Browse all 3132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>