POST api/Follow/addFollow

关注

Request Information

URI Parameters

None.

Body Parameters

followParam
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 'followParam'.

Response Information

Resource Description

关注

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.