I am trying to use get http: to access a web site and parse the html
returned.
I open a socket and send a request across of the form
GET address http/1.0 where address is the specifics i am trying to log
onto.
the code works with web sites such as
"http://www.statistics.gov.uk/instantfigures.asp"
The http protocol header is removed.
The connection onto the socket is made on "www.statistics.gov.uk"
and the get is done on hthe address GET "/instantfigures.asp" http/1.0.
This is successful and the html is successfuly returned.
However, when i try to do exactly the same with the following web site.
"http://epp.eurostat.cec.eu.int/portal/page?_pageid=1996,39140985&_dad=portal&_schema=POR TAL&screen=detailref&language=en&product=EUROIND&r oot=EUROIND/shorties/euro_cp/cp240"
I get returned "ERROR 400 - Bad Request - your browser sent a message
the server could not understand"
I use exactly the same method to perform the call.
remove the http:
connect to the socket on "epp.eurostat.cec.eu.int"
and perform my http on
"/portal/page?_pageid=1996,39140985&_dad=portal&_schema=POR TAL&screen=detailref&language=en&product=EUROIND&r oot=EUROIND/shorties/euro_cp/cp240"
I assume all the ? and , are some sort of parameter list, and i can
find no documentation to help me understand this.
If anyone could help me or know when to find the relevant information
from i would be most grateful
cheers
Anthony