POST api/upload/savefile

Request Information

URI Parameters

None.

Body Parameters

FileInfoModel
NameDescriptionTypeAdditional information
imagesBase64

string

None.

filetype

string

None.

fileName

string

None.

keyName

string

None.

ticket

string

None.

Request Formats

application/json, text/json

Sample:
{
  "imagesBase64": "sample string 1",
  "filetype": "sample string 2",
  "fileName": "sample string 3",
  "keyName": "sample string 4",
  "ticket": "sample string 5"
}

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 'FileInfoModel'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
success

boolean

None.

data

Object

None.

error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "data": {},
  "error": "sample string 3"
}