Authentication Check
To Use the Access Token that you got using the Authentication endpoint,
Attach It to to the Authorization header of your request, with a 'Bearer ' prefix.
To test it out you can use the Authentication check service described bellow.
Request
Request URL :
https://srv.eliexpress.com.tr/api/v2/client-integration/cool
Request Method :
GET
Content-Type :
application/json
Authorization header :
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.yJ0b2tlbiI6IlZUSkdjMlJIVasdm10WU1TdFNNM3BrZUdGblRscDVjRWNasd2ZW5sVFFUbFFPVzlXYTJwdlVsaFhibkJuZGxWQ1asdoxUkJlamxTZEhGMFNTdFZVbTFMVG5KeVVasdBPT0iLCJpYXQiOjE2asdNTQ5MDM0NzR9.9DhRgeZ37S3qKouNNasdZUnEa0kkfQ1Fzbp85Bqxg1r-F8
Response
Response Body :
✅
I you successfully authenticated, the server will respond with a success true, and the time left until your token expires.
{
"success": true,
"message": "You are cool, but for 120 seconds."
}
❌
If you failed to authenticate the server will respond with a request unauthorized message.
{
"success": false,
"message": "Request Unauthorized"
}