Skip to content

karthik101/Cherrypy-curl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cherrypy-curl

This is a simple python 2.7 cherrypy web framework based web application hosted on Openshift to get website metrics using curl command.

openshift web url:

http://cherrypy-helloworldcurl.rhcloud.com/

Curl command on Terminal(your PC):

curl -X POST -d "website=http://www.google.com/" "http://cherrypy-helloworldcurl.rhcloud.com/test/"

Output:

Metrics For http://www.google.com/

time_total = 0.148 http_code = 200 http_connect = 000 time_namelookup = 0.009 time_connect = 0.048 time_appconnect = 0.000 time_pretransfer = 0.048 time_redirect = 0.000 time_starttransfer = 0.108 size_download = 17411 size_upload = 0 size_header = 800 size_request = 177 speed_download = 117835.000 speed_upload = 0.000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages