I can’t post comment via REST API

Question

I try to insert comment via REST API , but i get this error :

Query parameter not permitted: author

I followed this docs and author is one of the arguments
this is the link test that i use

https://www.myblog.com/wp-json/wp/v2/comments/?author=1&content="TestComment"&post=1

So, what i am doing wrong ?

0
AYMEN SOUMER 2 months 0 Answers 16 views 0

Leave an answer