/api/reports/:id/comments
Posts a comment to the report with the specified ID.
Resource Information
Resource URL |
|
HTTP Method |
|
Parameters
Parameters |
Detail |
---|---|
|
ID of the report for which to post a comment. You can find the ID in the response to |
|
Text of the comment to post. |
Sample Request / Response
Using curl
:
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" -d "text=This is a comment." https://service.belladati.com/api/reports/7741/comments
When the comment has been posted successfully, the response has the HTTP status code 200 and the content "OK".