POST api/WeChatPublic/GetWechatOfficialAccountBlog
抓取公众号文章内容
Request Information
URI Parameters
None.
Body Parameters
文章链接
WechatLinkDto| Name | Description | Type | Additional information |
|---|---|---|---|
| BlogUrl |
链接地址 |
string |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<WechatLinkDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.WeChat"> <BlogUrl>sample string 1</BlogUrl> </WechatLinkDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
抓取公众号文章内容
CommonBlogDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Title |
标题 |
string |
None. |
| AuthorName |
作者姓名 |
string |
None. |
| ImageUrls |
图片路径 |
Collection of string |
None. |
| LocalImageUrls |
本地图片链接 |
Collection of string |
None. |
| Content |
博客内容 |
string |
None. |
| LocalIndexImgaeUrl |
封面图片地址 |
string |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<CommonBlogDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Blog">
<AuthorName>sample string 2</AuthorName>
<Content>sample string 3</Content>
<ImageUrls xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ImageUrls>
<Title>sample string 1</Title>
</CommonBlogDto>