Hi All, any one can help me ...


I am writing an application which sends a https request to the server.... and gets the response from that server

I am writing this in 'C'

this is the actual URL ;

https://bidsystem.adknowledge.com/se...=67.29.139.197

This is the request format I am using for https protocol :

"GET /search.php?afid=9999&kw=accredited+college+degree& size=10&ip=67.29.139.197 Secure-HTTP/1.4\r\n"
"Content-Privacy-Domain: CMS\r\n"
"Content-Type: message/http\r\n"
"\r\n"

and I used this also

"GET /search.php?afid=9999&kw=accredited+college+degree& size=10&ip=67.29.139.197 Secure * Secure-HTTP/1.4\r\n"
"Host: bidsystem.adknowledge.com\r\n"
"Accept: *_/*\r\n"
"Connection: Close\r\n"
"\r\n"

I tried with the port 80 and 443 .

I am getting this message :

HTTP/1.1 302 Found
Date: Thu, 03 Aug 2006 16:38:33 GMT
Server: Apache
Location: https://bidsystem.adknowledge.com/se...29.139.197&ua=
Vary: Accept-Encoding
Content-Length: 312
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head>
<h1>Found</h1>
<p>The document has moved <a href="https://bidsystem.adknowledge.com/search.php?afid=9999&amp;kw=accredited+college+deg ree&amp;size=10&amp;ip=67.29.139.197&amp;ua=" >here</a>.</p>