POST api/Values/TestPost

POST方法

请求的信息

URI参数

None.

Body参数

POST测试类

TestA
名称描述类型其它信息
ID

ID

string

None.

Name

名称

string

None.

请求格式

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

响应信息

资源描述

TestA
名称描述类型其它信息
ID

ID

string

None.

Name

名称

string

None.

响应格式

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2"
}