GET api/Post/postcomment?fromuserid={fromuserid}&postid={postid}&comment={comment}

Request Information

Parameters

NameDescriptionAdditional information
fromuserid

Define this parameter in the request URI.

postid

Define this parameter in the request URI.

comment

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "response": "sample string 1",
  "message": "sample string 2",
  "addedId": "sample string 3"
}

text/xml

Sample:
<CommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapishopinbelgium.Models">
  <addedId>sample string 3</addedId>
  <message>sample string 2</message>
  <response>sample string 1</response>
</CommonResponse>