GET api/IconPic/ImgUrlToImageBase64?imgUrl={imgUrl}

根据图标地址,下载图片返回base64

Request Information

URI Parameters

NameDescriptionTypeAdditional information
imgUrl

图片地址

string

Required

Body Parameters

None.

Response Information

Resource Description

根据图标地址,下载图片返回base64

string

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>