Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

uglass

dottorblaster9MIT0.1.0

A dead simple http request printer

http

readme

uGlass

uGlass is a dead simple http request printer. I wrote it because I needed a quick tool to look into an http POST request sent by an host in my network.

Installation

Just fire up your CLI and issue this command:

$ npm install -g uglass

Usage

$ uglass
uglass is running on port 3000. Shoot me! :-)

Then you can send a test request to your localhost:3000:

$ http get localhost:3000 param1==Hello param2==World
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 0
Date: Mon, 18 Jan 2016 11:57:47 GMT

And you'll see that uGlass printed these parameters:

---
param1: Hello
param2: World
---

Custom port

uGlass can listen on a custom port, just use the -p option:

$ uglass -p 8000
uglass is running on port 8000. Shoot me! :-)

Contributions

Feel free to open PRs and issues!