/httpcheck

Simple node.js-based web app to check HTTP verb, version, headers and data sent by clients

Primary LanguageJavaScript

Http Check

Simple web application (written in node.js) to check all the details about incoming HTTP request.

If you just want to use it, the application is currently deployed at

http://httpcheck.herokuapp.com/

To install it (you need to install node.js first!), clone the repository

git clone git://github.com/fdiotalevi/httpcheck.git

and just type

cd httpcheck
node app.js

It will start a server on port 3000. Just open the browser at http://localhost:3000 and you will see all your HTTP request details.

Example

url: /
method: GET
httpVersion: 1.1
headers: 
    host: localhost:3000
    connection: keep-alive
    user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.215 Safari/535.1
    accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    accept-encoding: gzip,deflate,sdch
    accept-language: en-US,en;q=0.8
    accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

data: