Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

400 BAD HTTP Request

Former Member
0 Likes
793

Here is my http request:

==================================================================================================================================================

https://www.dial-a-zip.com/XML-Dial-A-ZIP/DAZService.asmx/MethodZIPValidate?input=<VERIFYADDRESS><CO... OF DEFENSE</ADDRESS0><ADDRESS1></ADDRESS1><ADDRESS2>12 ALISON WAY</ADDRESS2><ADDRESS3>LYNN,MA01904</ADDRESS3></VERIFYADDRESS>

==================================================================================================================================================

This works when I paste it into my IE browser. You shoudl get an error complaining about the username or password. This is OK. At least it is reaching the server. However, it does not work when I call it from SAP. I've called many other API calls using the same code and they all work fine. Not sure what is different about this call. Here is the error I get from SAP:

400 Bad HTTP request. Illegal request version

Has anyone run into this?

Edited by: Tony Raimo on Sep 2, 2009 1:24 AM

2 REPLIES 2
Read only

Former Member
0 Likes
543

hia

The Web server (running the Web site) thinks that the data stream sent by the client (e.g. your Web browser or our CheckUpDown robot) was 'malformed' i.e. did not respect the HTTP protocol completely. So the Web server was unable to understand the request and process it.

It almost always means bad programming of the client system and/or the Web server.

m.a

Read only

0 Likes
543

Do you know what "Illegal Request Version" means? Is this HTTP 1.0/1.1/2.0?