title: How to use Curl with API Key and API Secret to check license key
body: <p>i want to check the License key with Curl and API Key and API Secret</p>
  
  <p>this is Return Value </p>
  
  <p>Upon successful processing, License Manager will return a plain text</p>
  
  <p>message that will have two or three lines similar to the following: </p>
  
  <p>Success License key WPLICMxx4bc2xxx1e471
  or
  Error Secret key is invalid</p>
  
  <p>Sample PHP Code 
    Below is a sample PHP code that shows how you can create a license via 
      the API </p>
  
  <pre><code>/*** Mandatory data ***/ 
  // Post URL 
  $postURL = ""; 
  // The Secret key 
  $secretKey = "597c038865e788.30430360"; 
  
  /*** Optional Data ***/ 
  $firstname = "John"; 
  $lastname = "Doe"; 
  $email = "john.doe@gmail.com"; 
  
  // prepare the data 
  $data = array (); 
  $data['secret_key'] = $secretKey; 
  $data['slm_action'] = 'slm_create_new'; 
  $data['first_name'] = $firstname; 
  $data['last_name'] = $lastname; 
  $data['email'] = $email; 
  
  // send data to post URL 
  $ch = curl_init ($postURL); 
  curl_setopt ($ch, CURLOPT_POST, true); 
  curl_setopt ($ch, CURLOPT_POSTFIELDS, $data); 
  curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true); 
  $returnValue = curl_exec ($ch); 
  
  // Process the return values 
  //var_dump($returnValue);
  </code></pre>
  
  <p>i want to check the License key with Curl and API Key and API Secret</p>