RESTful API
All requests to our RESTful API are served from the /api
endpoint, the /requests
endpoint will be routed to the /api
endpoint and will be removed in future versions.
Method |
Endpoint |
Parameters |
Status Code |
---|---|---|---|
POST |
/verify |
domain: This should be the domain name to verify |
200 Success 400 Failure |
POST |
/activate |
domain: This should be the domain name to activate email: Email Address used during product creation. code: Purchase Code generated during product creation. |
200 Success 400 Failure |
Activating a Product
To activate a product, make a request to the /activate
endpoint and provide the following parameters:
domain: This should be the domain name of the product to activate.
email: This should be the Email Address used during the product creation.
code: This should be the Purchase Code generated during the product creation.
curl "http://toneflixcode.cf/hubboxx/api/activate?origin=alimontaziba.js" \
-X POST \
-d "domain=toneflixcode.cf&[email protected]&code=EBUVMMUZX" \
-H "Referer: http://toneflixcode.cf" \
-H "Content-Type: application/x-www-form-urlencoded"
If the request is successful, you should get a response similar to:
{
"success": true,
"status": "success",
"status_code": "200",
"message": "Product Successfully Activated!"
}
If the product is already active, a 202 status_code will be returned with an info
status.
If the product code is invalid, a 400 status_code will be returned with an error
status.
Validating a Product
To validate a product, make a request to the /verify
endpoint and provide the following parameters:
domain: This should be the domain name of the product to validate.
curl "http://toneflixcode.cf/hubboxx/api/verify?origin=alimontaziba.js" \
-X POST \
-d "domain=toneflixcode.cf" \
-H "Referer: http://toneflixcode.cf" \
-H "Content-Type: application/x-www-form-urlencoded"
If the request is successful, you should get a response similar to:
{
"success": true,
"status": "success",
"status_code": "200",
"message": "Product is Active!"
}
If the product code is not valid, a 400 status_code will be returned with an error
status.