I know I can fetch url from AppEngine. But I just want to ping a website, without to get any other data. Is it possible?
            Asked
            
        
        
            Active
            
        
            Viewed 1,486 times
        
    2 Answers
4
            "ping" as in ICMP or "ping" as in send an HTTP request without getting the full response? If the latter, just send a HEAD request instead of a GET.
If the former, then that probably depends on your language of choice on AppEngine
- For python, check out Ping a site in Python?
 - For java, check out http://blog.taragana.com/index.php/archive/how-to-do-icmp-ping-in-java-jdk-15-and-above/
 
- 
                    I don't want to get the full response. I just want to know that it's working. Some sites have very big index pages which is not good for my quota. – pocoa May 16 '10 at 13:22
 - 
                    That's exactly what a HEAD request does, it retrieves the status header for a page but not the content. – wump May 17 '10 at 09:55
 
3
            
            
        There is a whitelist of modules and an FAQ about notable exclusions. You can't do it; use whaley's HEAD request.
It is also possible for an ICMP un-pingable to serve web-pages and a ICMP pingable site to do nothing but respond to pings.
        msw
        
- 42,753
 - 9
 - 87
 - 112