POST api/Like/addLike

点赞

Request Information

URI Parameters

None.

Body Parameters

likeParam
NameDescriptionTypeAdditional information
userid

integer

None.

dataId

integer

None.

code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "userid": 1,
  "dataId": 2,
  "code": 3
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'likeParam'.

Response Information

Resource Description

点赞

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.