Search our documentation...

Simply enter what you are looking for!

Code Examples

Command Line Example

# curl -k -H "Authorization: Bearer dlYkU9UiZOwziuRpuioA86A5ki0de7FU" "https://api.jetlicense.com/?action=createLicense&ip=1.1.1.1&product_id=5887980319a464498902b0cd&output=text"

PHP Example

<?php
$ch 
curl_init();

curl_setopt($chCURLOPT_URL"https://api.jetlicense.com");
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
curl_setopt($chCURLOPT_SSL_VERIFYHOSTfalse);
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
curl_setopt($chCURLOPT_HEADERfalse);
curl_setopt($chCURLOPT_HTTPHEADER, array("Authorization: Bearer dlYkU9UiZOwziuRpuioA86A5ki0de7FU"));
curl_setopt($chCURLOPT_POSTFIELDShttp_build_query(array(
    
'output'        => 'json',
    
'action'        => 'createLicense',
    
'ip'            => '1.1.1.1',
    
'product_id'    => '5887980319a464498902b0cd'
)));

$result curl_exec($ch);
$response json_decode($result);
?>