cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Gaurav3
Visitor

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'." 

 

1 ACCEPTED SOLUTION

Accepted Solutions
richie
Community Hero

Re: Unable to use Delete Method ,getting an error "Message" : "The requested resource

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
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta

View solution in original post

1 REPLY 1
richie
Community Hero

Re: Unable to use Delete Method ,getting an error "Message" : "The requested resource

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
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors