POST api/BBS/RecommendPost
推荐帖子
Request Information
URI Parameters
None.
Body Parameters
RecommendRequestName | Description | Type | Additional information |
---|---|---|---|
post_id |
帖子Id |
integer |
None. |
post_details_id |
帖子明细Id |
integer |
None. |
user_id |
当前登录者Id |
string |
None. |
token |
token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "post_id": 1, "post_details_id": 1, "user_id": "sample string 1", "token": "sample string 2" }
application/xml, text/xml
Sample:
<RecommendRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model"> <token>sample string 2</token> <user_id>sample string 1</user_id> <post_details_id>1</post_details_id> <post_id>1</post_id> </RecommendRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
推荐帖子
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |