GET api/Qiniu/GetPolicy?cid={cid}&tableId={tableId}

获取七牛上传凭证

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cid

integer

Default value is 0

tableId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

获取七牛上传凭证

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>