1.0.0 • Published 5 years ago

callbackman v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

Introduction

A develop tool to help you observe what is being sent to your server. Kinda like postman on server side for developer

Using Docker

Step 1: start up server daemon

$ docker pull callbackman
$ docker run --rm --name callbackman -p 3000:3000 -d callbackman node index.js

Step 2:

Open Chrome and browse to http://localhost:3000

Step 3:

Send request to http://localhost:3000/api/callback, i.e:

$ curl -XPOST localhost:3000/callback?hello -H 'Content-Type: application/json' -d '{"hello":"wolrd","foo":"bar"}'

Step 4:

Requested URL/Headers/Body should show on webpage of Step2 automaticall. npm.io

Using npm package:

$$ $ yarn global add callbackman $ callbackman -p 3000 -H 127.0.0.1 $$