I am using the above command in if loop to check the response of the page without downloading the page. I just want to check whether the page is up and running. But when i execute the command i am getting
HTTP request sent, awaiting response... 500 Internal Server Error
10:37:02 ERROR 500: Internal Server Error
You're trying to login so I realize you can't provide much detail but we don't know whether the page requires GET or POST method. The first method, GET, puts the information you supply into the URL. The second method, POST, puts the information into the header of the HTTP request.
If there's a login form on the web page you can look at the source HTML, find the form, see what method it uses, and what page it calls. Somewhere in the HTML something like the below code can be found unless there is also some crazy JavaScript going on.
For the above page you would do something like...
A better way to find out what's happening exactly is to fire up WireShark, filter all HTTP transactions, login normally, and then look at the messages in WireShark.
Some pages are more of a pain than others. Some want the transactions to use SSL and some required cookies, that I've messed with. The worst pages were ones that did JavaScript page setup. I've never figured out how run the setup code from wget or curl on those type of pages.
Hi Guys,
Is there any way that we can know whether a website is fullly loaded with Linux command line ?? is there any command in Linux that can achieve that ??
Also,naturally I would also like to get the response code of the particular website/URL that i am testing for ??
Any help would be... (3 Replies)
Hi everyone!
How can I get response time difference between GET and HTTP/1.0 200 OK (i mean time latency of web-server) with using of tshark&shell or something else for each hostname from pcap file?
What can you recommend me to do that? (1 Reply)
hi
i was trying to run the HTML script and was unable to run it as the apache server was not loaded on my linux server.....how do i check whether A[pache has been installed in my server or not.....???? (1 Reply)
Hi,
I have a SCO Unix Openserver V6 server which is hosting a website with Apache V1.3 as the http server. The web site has an initial login screen which re-directs to another page once the user name and password has been verified.
When connecting to the website and trying to login, it times... (0 Replies)
Hi,
I need to check the response of the web page without downloading any content. I used the below command.
_website=http://xxx.xxx.com
wget --spider --user=username --password=password $_website > /home/username/temp.txt 2>&1;
I getting the below error. The web page require... (3 Replies)
I have a shell script that runs periodic upgrades on machines. I want to print certain echo commands from the shell script onto a webpage. What command in shell should I use for doing this. (1 Reply)
Hello,
I'm a total newbie to HTTP commands, so I'm not sure how to do this. What I'd like is to write a C program to fetch the contents of a html page of a given address.
Could someone help with this?
Thanks in advance! (4 Replies)
Hello,
I am new to unix, but wanted to know how can we fetch data from a web page (i.e. an HTML Page), my requirement is to read an html page and wanted to create a flat file (text file) based on the contents available in the mentioned HTML page.
Thanks
Imtiaz (3 Replies)