Sign in to follow this  
Followers 0
davidshang

How to get web server respond code???

3 posts in this topic

hi,

need some body help

thank you.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

hi,

need some body help

thank you.

Do you mean errors such as:

400 Bad File Request

401 Unauthorized

403 Forbidden/Access Denied

404 File Not Found

408 Request Timeout

500 Internal Error

501 Not Implemented

502 Service Temporarily Overloaded

503 Service Unavailable

Which generally depending on server setup or fail-over are served via webpage response.

You would need to look up in helpfile [_IEBodyReadHTML, StringInStr, InetGet] just for starters.

are you wanting to setup a monitoring application?

Edit: potential issue with IE with "Show friendly HTTP error messages" option enabled, you may want to look that up also.

ftc

Edited by failedtocompile

Share this post


Link to post
Share on other sites

Do you mean errors such as:

400 Bad File Request

401 Unauthorized

403 Forbidden/Access Denied

404 File Not Found

408 Request Timeout

500 Internal Error

501 Not Implemented

502 Service Temporarily Overloaded

503 Service Unavailable

Which generally depending on server setup or fail-over are served via webpage response.

You would need to look up in helpfile [_IEBodyReadHTML, StringInStr, InetGet] just for starters.

are you wanting to setup a monitoring application?

Edit: potential issue with IE with "Show friendly HTTP error messages" option enabled, you may want to look that up also.

ftc

hi,

thanks you for your answer.

Donot only http error,also have some respond after some actions.For example,i do some actions on web flash game,the web server will return some respondcode, i want to get the respondcode with AutoIt script. Then estimate to continue or stop run the AutoIt script.

Share this post


Link to post
Share on other sites

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  
Followers 0