Get Server Response Tool
Posted: Thu Jun 27, 2013 4:42 am
Hi everyone,
I have been doing my reading, anyway I have found older methods, newer ones etc..
I have compiled & debugged a few things, but I feel like I am probably over complicating it !
I dare not corrupt this post by suggesting those..
A simple thing I am trying to do, Get the server response for /HEAD " X_URL$ "
IE is it 200 302 404 (Number returned only)
I know about GetHTTPHeader, but that doesn't supply a User-Agent:
So I will need to supply one as well, otherwise the Server gives a different response.
But nothing else extra is required in the Request..
User-Agent: Mozilla/5.0 (just fine)
So please if someone can supply me a snippet, I can tweak & break, and fix again
that is specifically a little closer to my need, that would be awesome !
Apologies for being a n00b
EDIT: Ok, SOLVED - working perfectly from CMD + Parameter

I have been doing my reading, anyway I have found older methods, newer ones etc..
I have compiled & debugged a few things, but I feel like I am probably over complicating it !
I dare not corrupt this post by suggesting those..
A simple thing I am trying to do, Get the server response for /HEAD " X_URL$ "
IE is it 200 302 404 (Number returned only)
I know about GetHTTPHeader, but that doesn't supply a User-Agent:
So I will need to supply one as well, otherwise the Server gives a different response.
But nothing else extra is required in the Request..
User-Agent: Mozilla/5.0 (just fine)
So please if someone can supply me a snippet, I can tweak & break, and fix again
that is specifically a little closer to my need, that would be awesome !
Apologies for being a n00b
EDIT: Ok, SOLVED - working perfectly from CMD + Parameter
