Health Check
Se verifica que el servicio esté funcionando correctamente.
Endpoint
Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json | |
Authorization | Bearer {{access_token}} | access_token obtained in Atenea |
Url
Method: POST
URL: https://api.trust.lat/verification
caution
Recuerda que para utilizar este endpoint es necesario un access token obtenido en el servicio Atenea
Code Examples
- Curl
- JavaScript
- Python
curl --location --request GET 'https://api.trust.lat/verification' \
--header 'Authorization: Bearer `{{access_token}}`'
import requests
url = "https://api.trust.lat/verification"
payload={}
headers = {
'Authorization': 'Bearer `{{access_token}}`'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
var axios = require('axios');
var config = {
method: 'get',
url: 'https://api.trust.lat/verification',
headers: {
'Authorization': 'Bearer `{{access_token}}`'
}
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
Responses
HTTP Code: 200 OK
{
"status": true,
"message": "Verification service API V2 by Trust."
}