GET api/Post/likeunlikepost?fromuserid={fromuserid}&touserid={touserid}&postid={postid}&islike={islike}

islike=0 unlike post islike=1 like post

Request Information

Parameters

NameDescriptionAdditional information
fromuserid

Define this parameter in the request URI.

touserid

Define this parameter in the request URI.

postid

Define this parameter in the request URI.

islike

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>