POST api/Post/SaveFollowPost
Request Information
URI Parameters
None.
Body Parameters
followPostName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
content | string |
None. |
|
ctime | date |
None. |
|
thumbs | integer |
None. |
|
adopt | integer |
None. |
|
postID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "content": "sample string 2", "ctime": "2023-09-26T19:01:45.2246697+08:00", "thumbs": 4, "adopt": 5, "postID": 6 }
application/xml, text/xml
Sample:
<followPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webApi.Models"> <ID>1</ID> <adopt>5</adopt> <content>sample string 2</content> <ctime>2023-09-26T19:01:45.2246697+08:00</ctime> <postID>6</postID> <thumbs>4</thumbs> </followPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>