How to add a comment using service api when uuid_service module is enabled How to add a comment when UUID and services are enabled
The url which we tried is :

http://localhost/api/comment/uuid_of_new_comment (PUT request)
with json raw data:

{
    "comment": {
        "uuid":"uuid_of_forum ",
        "subject": "testing"
    },
    "uuid":"uuid_of_new_comment ",
    "type":"comment"
}


I know that it is not correct. But was not able to find a proper documentation for this any where. So trying some random things !!!

It will be highly helpful if some one can suggest where to find proper documentation for uuid with services .
First, when creating a comment you must use POST. Here's an example:

POST: ?q=[my_endpoint]/comment.json

{
  "subject":"Testing...",
  "comment_body":{"und":[{"value":"Hello world..."}]},
  "nid":"123"
}


Secondly, from my understanding the uuid will automatically be generated server side, so you should not need to send it up to Drupal. And lastly, you use the PUT http method to update a comment, and in that case you can send along similar JSON, but include the cid value (e.g. 456) and exclude the nid value in the JSON object, and change the URL path to ?q=[my_endpoint]/comment/456.json

{
  "subject":"Updating...",
  "comment_body":{"und":[{"value":"Hello world again..."}]},
  "cid":"456"
}