Skip to content

stjohnjohnson/postbin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postbin

wercker status npm downloads npm version

Quick script for listening to HTTP traffic

Usage

$ postbin.js 8080
en0 http://127.0.0.1:8080


> GET /
> Headers:
{ host: '127.0.0.1:8080',
  connection: 'keep-alive',
  accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
  'upgrade-insecure-requests': '1',
  'accept-encoding': 'gzip, deflate, sdch',
  'accept-language': 'en-US,en;q=0.8,es;q=0.6' }
>>> EOL


> GET /favicon.ico
> Headers:
{ host: '127.0.0.1:8080',
  connection: 'keep-alive',
  accept: '*/*',
  referer: 'http://127.0.0.1:8080/',
  'accept-encoding': 'gzip, deflate, sdch',
  'accept-language': 'en-US,en;q=0.8,es;q=0.6' }
>>> EOL

About

Quick script for listening to HTTP traffic

Resources

License

Stars

Watchers

Forks

Packages

No packages published