Operation test

GET /test

Confirm GET method operation

Detail

Request

No Parameters

Response

Body

Key

Type

Value

message

String

Response message

Sample

Request

URL
GET https://*.sacm.jp/public-api/v1/test

Response

Body
{
  "message" : "Hello, World!"
}

POST /test

Confirm POST method operation

Detail

Request

Header
Content-Type: application/json
Body

Key

Type

Value

message

String

Echo string (1 - 500 characters)

Response

Body

Key

Type

Value

message

String

Echo string specified in request

Sample

Request

URL
POST https://*.sacm.jp/public-api/v1/test
Header
Content-Type: application/json
Body
{
  "message" : "test message"
}

Response

Header
Content-Type: application/json
Body
{
  "message" : "test message"
}

PUT /test/:id

Confirm PUT method operation

Detail

Request

Header
Content-Type: application/json
Body

Key

Type

Value

message

String

Echo string (1 - 500 characters)

Response

Body

Key

Type

Value

message

String

Echo string specified in request

Sample

Request

URL
PUT https://*.sacm.jp/public-api/v1/test/1
Header
Content-Type: application/json
Body
{
  "message" : "test message"
}

Response

Header
Content-Type: application/json
Body
{
  "message" : "test message"
}

Description

  • :id can be a value between 1 - 64

DELETE /test/:id

Confirm DELETE method operation

Detail

Request

No Parameters

Response

Status Code
204
Header
Content-Type: text/plain
Body

No Body

Sample

Request

URL
DELETE https://*.sacm.jp/public-api/v1/test/1

Response

Header
Content-Type: text/plain
Body

No Body

Description

  • :id can be a value between 1 - 64