POST api/Account/uploadpicbase

用户上传头像(Base64位)

Request Information

URI Parameters

None.

Body Parameters

UnloadFileModel
NameDescriptionTypeAdditional information
UserId

用户id

integer

None.

ImageFile

Base64图片

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "ImageFile": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UnloadFileModel'.

Response Information

Resource Description

用户上传头像(Base64位)

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.