https://github.com/stjohnjohnson/postbin
Quick script for listening to HTTP traffic
https://github.com/stjohnjohnson/postbin
Last synced: 10 months ago
JSON representation
Quick script for listening to HTTP traffic
- Host: GitHub
- URL: https://github.com/stjohnjohnson/postbin
- Owner: stjohnjohnson
- License: mit
- Created: 2016-04-05T16:51:11.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-19T05:02:01.000Z (about 10 years ago)
- Last Synced: 2025-08-02T09:36:27.533Z (11 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/postbin
- Size: 4.88 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Postbin
[](https://app.wercker.com/project/bykey/6aa77d83c0b36ad54d9b5d5f4ee42435)
[](https://www.npmjs.com/package/postbin)
[](https://www.npmjs.com/package/postbin)
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
```