Skip to main content

Test Endpoints

GET Method

Request

ENDPOINT
/test/API_KEY
METHOD
GET

Path Params

FieldTypeDescription
api_key *stringPartner's API_KEY.
GET /test/{api_key}
curl -X GET \
'https://api-auth.sandbox.qitech.app/test/{api_key}' \
-H 'AUTHORIZATION: {encoded_header_token}' \
-H 'API-CLIENT-KEY: {api_key}'

Response

STATUS
200
Response Body
{
"test_key": "97ad0301-869c-4481-98b6-294b139e09ae",
"success": "Congrats!"
}

POST Method

Request

ENDPOINT
test/API_KEY
METHOD
POST
POST /test/{api_key}
curl -X POST \
'https://api-auth.sandbox.qitech.app/test/{api_key}' \
-H 'AUTHORIZATION: {encoded_header_token}' \
-H 'API-CLIENT-KEY: {api_key}' \
-H 'Content-Type: application/json' \
-d '{"name": "QI Tech"}'
Request Body
{
"name": "QI Tech"
}

Path Params

FieldTypeDescription
api_key *stringPartner's API_KEY.

Response

STATUS
201
Response Body
{
"name": "QI Tech",
"success": "Congrats!"
}