POST api/notfound/redirect

404做301定向跳转

Request Information

URI Parameters

None.

Body Parameters

SysNotFoundRedirectContract
NameDescriptionTypeAdditional information
url

string

None.

Request Formats

application/json, text/json

Sample:
{
  "url": "sample string 1"
}

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

Response Information

Resource Description

404做301定向跳转

ReturnResultOfString
NameDescriptionTypeAdditional information
data

string

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": "sample string 1",
  "code": 2,
  "message": "sample string 3"
}