endpoint authenticated with a header
GET/secure/get
endpoint authenticated with a header
Request
Responses
- 200
- 401
- application/json
- Schema
- Example (from schema)
Schema
secret stringrequired
{
"secret": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
{
"error": "string"
}
Authorization: Example-Api-Key
name: Example-Api-Keytype: apiKeyin: header
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://dinodoc.pages.dev/secure/get' \
-H 'Accept: application/json' \
-H 'Example-Api-Key: <API_KEY_VALUE>'