IIS

Moderators: None (Apply to moderate this forum)
Number of threads: 78
Number of posts: 137

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Error BAD REQUEST - HTTP POST Posted by tejasvnahal on 12 Jun 2004 at 6:16 AM
Hi all,
pls help.
i'm sending the following request to webserver [Tried with all - (IIS, Xatami, Abyss)]
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sprintf(buff,"POST /cgi-bin/simple_cgi.exe HTTP/1.1\r\nHost: localhost:80\r\nConnection: keep-alive\r\nTransfer-encoding: chunked\r\n\r\n");
send(conn,buff,strlen(buff),0);
sprintf(buff,"05D\r\n8111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111\r\n");
send(conn,buff,strlen(buff),0);
sprintf(buff,"000\r\n\r\n");
send(conn,buff,strlen(buff),0);
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
But getting BAD REQUEST ERROR - 400.
Have referred to link http://support.microsoft.com/default.aspx?scid=kb;en-us;278998&Product=iis50 and have tried a lot many combinations.
My question -> What is wrong. ?
Rgds
Tejasv...

Thread Tree
tejasvnahal Error BAD REQUEST - HTTP POST on 12 Jun 2004 at 6:16 AM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.