English 
 

 

Generatore Parole Chiavi: Esempio Codice per API

$ch = curl_init();
$value = 'http://www.wordsfinder.com/keyrest.php';
curl_setopt($ch, CURLOPT_URL, $value);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt( $ch, CURLOPT_POSTFIELDS, 'type=basic&user=YOUR_API_KEY&text='.$content);  
$xml = curl_exec($ch);
curl_close($ch);

Esempio di Chiamata via FORM POST

<form action="keyrest.php" method="post" enctype="multipart/form-data" name="form">
<textarea name="text">Copia ed incolla</textarea>
<input name= "type" type="hidden" value="basic" >
<input name= "user" type="hidden" value="YOUR_API_KEY" >
<input name="submit" type="submit" value="Trova parole chiavi" />
</form>

Prova :