Sign in to follow this  

HTTP GET not working !?

This topic is 4306 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i made a HTTP request to a website: GET /index.htm HTTP/1.0 also tried: GET index.htm HTTP/1.0 i get an error back: 404 not found the request url index.htm was not found on this server but it does exist! www.blackcarbon.net is the website btw.

Share this post


Link to post
Share on other sites
The requests you are sending are not valid HTTP. If you look carefully at the error message returned by the server, it is an HTTP 400 - invalid request. The 404 is a side-effect error that is a result of the server not being configured correctly.

Your request should be one of the following:

GET http://www.blackcarbon.net/index.htm HTTP/1.0

Or:
GET /index.htm HTTP/1.1
Host: www.blackcarbon.net



Both work for me.

Share this post


Link to post
Share on other sites

This topic is 4306 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this