Title: Create a comment for posts using POST/wp/v2/comments
Last modified: August 31, 2016

---

# Create a comment for posts using POST/wp/v2/comments

 *  [kaiptech](https://wordpress.org/support/users/kaiptech/)
 * (@kaiptech)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/create-a-comment-for-posts-using-postwpv2comments/)
 * 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://wordpress.org/plugins/rest-api/](https://wordpress.org/plugins/rest-api/)

The topic ‘Create a comment for posts using POST/wp/v2/comments’ is closed to new
replies.

 * ![](https://ps.w.org/rest-api/assets/icon-256x256.png?rev=1346297)
 * [WordPress REST API (Version 2)](https://wordpress.org/plugins/rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rest-api/reviews/)

## Tags

 * [comment](https://wordpress.org/support/topic-tag/comment/)

 * 0 replies
 * 1 participant
 * Last reply from: [kaiptech](https://wordpress.org/support/users/kaiptech/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/create-a-comment-for-posts-using-postwpv2comments/)
 * Status: not resolved