POST api/ClientApp/upload/avatar

[已完成Demo] 头像上传

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

UploadResponse
NameDescriptionTypeAdditional information
url

string

None.

cert_info

Object

None.

code

1 为成功,其他为失败

integer

None.

msg

请求描述

string

None.

Response Formats

application/json, text/json

Sample:
{
  "url": "sample string 1",
  "cert_info": {},
  "code": 3,
  "msg": "sample string 4"
}