Closed G1Joshi closed 3 years ago
@cyp3rius Can you please look into this issue?
Hi @G1Joshi , checking the scenario.
Hi @G1Joshi,
I was able to reproduce your issue but it's simply a problem with url you're calling as we don't have proper documentation provided here. In the next release we will provide an update, but anyway based on DELETE specification the body is not allowed, so authorId
have to be as a query param. Try please:
DELETE localhost:1337/comments/article:1/1?authorId=1
Yeah, @cyp3rius it works for me :)
Deleting a comment is not working in strapi comment plugin, I am making a delete request with authorId in json body
URL- localhost:1337/comments/articles:1/comment:1
Body
Response
On providing authorId on query
URL- localhost:1337/comments/articles:1/comment:1?authorId=1
Response