make-app/connections/apikey/apikey.communication.iml.json
2026-11-28 15:28:05 +02:00

23 lines
541 B
JSON

{
"url": "https://api.interweb.co.mz/v1/token",
"method": "GET",
"headers": {
"Authorization": "Bearer {{parameters.apiKey}}",
"Accept": "application/json",
"User-Agent": "interweb-mz-make/1.0.0"
},
"log": {
"sanitize": [
"request.headers.authorization"
]
},
"response": {
"metadata": {
"type": "text",
"value": "{{body.data.name}} ({{body.data.mode}})"
},
"error": {
"message": "[{{statusCode}}] {{ifempty(body.error.message; 'The API key is not valid.')}}"
}
}
}