PHP code example:
$ch = curl_init();
$value = 'http://www.wordsfinder.com/api_traffic_code.php';
curl_setopt($ch, CURLOPT_URL, $value);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt( $ch, CURLOPT_POSTFIELDS, 'country=US&user=YOUR_API_KEY&word='.$word);
$xml = curl_exec($ch);
curl_close($ch);
$value = 'http://www.wordsfinder.com/api_traffic_code.php';
curl_setopt($ch, CURLOPT_URL, $value);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt( $ch, CURLOPT_POSTFIELDS, 'country=US&user=YOUR_API_KEY&word='.$word);
$xml = curl_exec($ch);
curl_close($ch);
Test Post form
The following is a simple form that posts 2 values : the fist is the type = basic and the second is input box content:
<form action="http://www.wordsfinder.com/api_traffic_code.php" method="post" enctype="multipart/form-data" name="form">
<input name="word" type="text">
<input name= "country" type="hidden" value="US" >
<input name= "user" type="hidden" value="YOUR_API_KEY" >
<input name="submit" type="submit" value="Find traffic" />
</form>
<input name="word" type="text">
<input name= "country" type="hidden" value="US" >
<input name= "user" type="hidden" value="YOUR_API_KEY" >
<input name="submit" type="submit" value="Find traffic" />
</form>

