This endpoint allows you to get free cakes.
Request:-
{
"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXBlIjoiY2xpZW50IiwiZW1haWwiOiJraXJhbkBiaWxsZWFzeS5pbiIsInRva2VuIjoiYkhLbm84WFhpMWhHRmJxVSIsImlkIjoiMTAzIiwiaWF0IjoxNTg2MjQ5NDM0LCJleHAiOjE1ODYzMzU4MzR9.2uJ53N_ANklgbV7EOB2iqdMv2Ux04fLZ7tL6qHSOABw"
}
Response:-
{
"success": true,
"msg": "Token is Valid.",
"data": {}
}
{
"success": false,
"msg": "Invalid Token",
"data": {
"name": "JsonWebTokenError",
"message": "invalid signature"
}
}