Forum Discussion

Gaurav3's avatar
Gaurav3
Visitor
4 years ago

Unable to use Delete Method ,getting an error "Message" : "The requested resource does not support

Unable to use Delete method getting error message : "Message" : "The requested resource does not support http method 'DELETE'." 

 

  • Hey Gaurav3,

    APIs/endpoints are coded to accept requests from specific HTTP methods.
    If youre getting this response id suggest your endpoint doesnt support the DELETE method.

    Have you doubled checked your technical requirements to confirm what method to use? This detail should be documented somewhere. There are occasions ive read where alternative methods are used to do something...like a POST is used to GET or DELETE, etc., but this is unusual and theres normally specific reasons why this has been implemented this way.

    If youre sure you need to delete the resource from the endpoint but DELETE isnt working, either the coders need to fix the thing or you might have the situation i mentiom above where another method is used to execute the request.

    Ta

    Rich
  • richie's avatar
    richie
    Community Hero
    Hey Gaurav3,

    APIs/endpoints are coded to accept requests from specific HTTP methods.
    If youre getting this response id suggest your endpoint doesnt support the DELETE method.

    Have you doubled checked your technical requirements to confirm what method to use? This detail should be documented somewhere. There are occasions ive read where alternative methods are used to do something...like a POST is used to GET or DELETE, etc., but this is unusual and theres normally specific reasons why this has been implemented this way.

    If youre sure you need to delete the resource from the endpoint but DELETE isnt working, either the coders need to fix the thing or you might have the situation i mentiom above where another method is used to execute the request.

    Ta

    Rich