Currently, my website is using the default COMMENT function provided by wordpress, now I am trying to create comments to posts using swift2. Then I have looked at the documentation of WP REST API V2 and found that I can use POST /wp/v2/comments to create comments, but I do not know how to use this method.
Can anyone please provide me a real life example of using this method in general or in swift2?
(@kaiptech)
10 years ago
Hello,
Currently, my website is using the default COMMENT function provided by wordpress, now I am trying to create comments to posts using swift2. Then I have looked at the documentation of WP REST API V2 and found that I can use POST /wp/v2/comments to create comments, but I do not know how to use this method.
Can anyone please provide me a real life example of using this method in general or in swift2?
Thanks!
https://ww.wp.xz.cn/plugins/rest-api/