POST /verify
- This endpoint is used to verify a license key.
The headers required for this endpoint are:
- The default headers found here.
- The
authorization
header set to the API key. (Docs on the Authorization header can be found here). - The
key
header set to the license key to verify.
Response
The response of this endpoint will be a JSON object with the following properties:
{
"status": "ok",
"message": "Authorized"
}
Example
A basic example of how to use this endpoint in JavaScript:
fetch('https://api.corlink.xyz/verify', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'authorization': 'Bearer YOUR_TOKEN',
'key': 'A_LICENSE_KEY ex: 1234567890'
},
})