-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,24 @@ A simple web listener that logs complete HTTP requests for inspection. | |
Usage | ||
----- | ||
|
||
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) | ||
|
||
Once deployed, follow the Heroku app logs using the [CLI](https://devcenter.heroku.com/articles/heroku-cli) to inspect incoming requests: | ||
|
||
```bash | ||
heroku logs --tail --app $APP_NAME | ||
``` | ||
|
||
### Local Usage | ||
|
||
Clone this repo, then inside of it: | ||
|
||
``` | ||
npm install | ||
npm start | ||
PORT=3333 npm start | ||
``` | ||
|
||
Then, watch the output as requests arrive: | ||
Then, watch the output to inspect incoming requests: | ||
|
||
``` | ||
> [email protected] start /Users/mars.hall/Projects/reqinspeq | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "reqinspeq", | ||
"description": "A simple web listener that logs complete HTTP requests for inspection", | ||
"keywords": [ | ||
"http", | ||
"debug", | ||
"tools" | ||
], | ||
"repository": "https://github.com/mars/reqinspeq.git" | ||
} |