CC3000 HTTP REQUEST- Cannot Connect Server

Hi everyone,
I have a problem with my cc3000.

#include <WiFi.h>
#include <WiFiClient.h>
#include <WiFiServer.h>

#include <Adafruit_CC3000.h>
#include <ccspi.h>
#include <SPI.h>
#include <string.h>
#include “utility/debug.h”
#include “DHT.h”
#include<stdlib.h>

// These are the interrupt and control pins
#define ADAFRUIT_CC3000_IRQ 3 // MUST be an interrupt pin!
// These can be any two pins
#define ADAFRUIT_CC3000_VBAT 5
#define ADAFRUIT_CC3000_CS 10
// Use hardware SPI for the remaining pins
// On an UNO, SCK = 13, MISO = 12, and MOSI = 11
Adafruit_CC3000 cc3000 = Adafruit_CC3000(ADAFRUIT_CC3000_CS, ADAFRUIT_CC3000_IRQ, ADAFRUIT_CC3000_VBAT, SPI_CLOCK_DIVIDER); // you can change this clock speed

// WLAN parameters
#define WLAN_SSID “ssid”
#define WLAN_PASS “pass”
#define WLAN_SECURITY WLAN_SEC_WPA2

#define IDLE_TIMEOUT_MS 3000 // Amount of time to wait (in milliseconds) with no data
// received before closing the connection. If you know the server
// you’re accessing is quick to respond, you can reduce this value.
#define DHTPIN A4
#define DHTTYPE DHT11

int sensorPin=A5;
WiFiClient client;

uint32_t ip;
DHT dht(DHTPIN, DHTTYPE);

int isik,nem,gaz,sicaklik;
const unsigned long connectTimeout = 15L * 1000L;
void setup(void)
{
//Serial.begin(115200);
Serial.begin(9600);
Serial.println(F("\nInitializing…"));
if (!cc3000.begin())
{
Serial.println(F(“Couldn’t begin()! Check your wiring?”));
while(1);
}
Serial.print(F("\nAttempting to connect to "));
Serial.println(WLAN_SSID);
if (!cc3000.connectToAP(WLAN_SSID, WLAN_PASS, WLAN_SECURITY)) {
Serial.println(F(“Failed!”));
while(1);
}
Serial.println(F(“Connected!”));

Serial.println(F(“Request DHCP”));
while (!cc3000.checkDHCP())
{
delay(100); // ToDo: Insert a DHCP timeout!
}
///if he login and he can show info/ mean he login and only then continue
while (! displayConnectionDetails()) {
delay(1000);
}
//client.connect(“idriskaraali.azurewebsites.net”,80);
if (client.connect(“idriskaraali.azurewebsites.net”,80))//PROBLEM WAS HERE!
{
//client.println();
Serial.println(“Baglandi!”);
}
else
{
Serial.println(“Cannot connect to Server”);
}

}

void loop(void)
{
float h = dht.readHumidity(); //nem ölçümü
float t = dht.readTemperature(); //sicaklik ölçümü
int sicaklik = (int) t;
int nem = (int) h;

client.connect(“idriskaraali.azurewebsites.net”,80);

isik=analogRead(sensorPin);
client.print(“POST /add.php?nem=”); client.print(nem);
client.print("&sicaklik="); client.print(sicaklik);
client.print("&gaz="); client.print(nem2);
client.print("&isik="); client.print(isik);
//client.print(temp);
client.print(" HTTP/1.1");
client.println();
Serial.println(“GET /add.php HTTP/1.1 Ekliyor!”);
client.println(“Host: idriskaraali.azurewebsites.net”);
//client.println(“Content-Type: application/x-www-form-urlencoded”);
//client.println(“Connection: close”);
/client.println(“User-Agent: Arduino/1.0”);
client.print("Content-Length: ");
client.println(temp.length());
client.println();
client.print(temp);
/
Serial.print(nem);
Serial.print("–");
Serial.print(sicaklik);
Serial.print("–");
Serial.print(nem
2);
Serial.print("–");
Serial.println(isik);
client.println();
client.stop();
client.flush();

delay(1000);

}

bool displayConnectionDetails(void)
{
uint32_t ipAddress, netmask, gateway, dhcpserv, dnsserv;

if(!cc3000.getIPAddress(&ipAddress, &netmask, &gateway, &dhcpserv, &dnsserv))
{
//Serial.println(F(“Unable to retrieve the IP Address!\r\n”));
return false;
}
else
{
Serial.print(F("\nIP Addr: “)); cc3000.printIPdotsRev(ipAddress);
Serial.print(F(”\nNetmask: “)); cc3000.printIPdotsRev(netmask);
Serial.print(F(”\nGateway: “)); cc3000.printIPdotsRev(gateway);
Serial.print(F(”\nDHCPsrv: “)); cc3000.printIPdotsRev(dhcpserv);
Serial.print(F(”\nDNSserv: ")); cc3000.printIPdotsRev(dnsserv);
Serial.println();
return true;
}
}

It was work my Ethernet modules. But did not work with cc3000.
Thank You All.

arduino.PNG

    client.print("POST /add.php?nem="); client.print(nem);
    client.print("&sicaklik="); client.print(sicaklik);
    client.print("&gaz="); client.print(nem*2);
    client.print("&isik="); client.print(isik);
    //client.print(temp);
    client.print(" HTTP/1.1");
    client.println();       
    Serial.println("GET /add.php HTTP/1.1 Ekliyor!");           
    client.println("Host: idriskaraali.azurewebsites.net");

What nonsense. What you are sending to the client is not even remotely related to what you are sending to the serial port. The POST command does not expect data on the command like. The GET request does.