postbin

1.0.7 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i postbin

Weekly Downloads

4

Version

1.0.7

License

MIT

Last publish

Collaborators

  • stjohnjohnson