testapi

testapi

3.0.0OAS 3.0

A dynamic API that echoes back request metadata. Protected by API Key, OAuth2, or Basic Auth.

API Base URL
Security
ApiKeyAuth (apiKey)

An API key is a token that you provide when making API calls. Include the token in a header parameter called apikey.

Example: apikey: 123

OAuth2Auth (oauth2)

Client Credentials OAuth Flow

Token URL: https://your-auth-server.com/token

BasicAuth (http)

Basic authentication is a simple authentication scheme built into the HTTP protocol.
To use it, send your HTTP requests with an Authorization header that contains the word Basic
followed by a space and a base64-encoded string username:password.

Example: Authorization: Basic ZGVtbzpwQDU1dzByZA==

Get Dynamic Echo Response

get
/testapi

Response

200 application/json

A free-form JSON object echoing the request.

object
* Additional properties are allowed.
200 application/json