Skip to content

Commit a103dda

Browse files
committed
🌱
1 parent cc99120 commit a103dda

File tree

5 files changed

+454
-0
lines changed

5 files changed

+454
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

README.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
reqinspeq
2+
=========
3+
4+
A simple web listener that logs complete HTTP requests for inspection.
5+
6+
Usage
7+
-----
8+
9+
Clone this repo, then inside of it:
10+
11+
```
12+
npm install
13+
npm start
14+
```
15+
16+
Then, watch the output as requests arrive:
17+
18+
```
19+
> reqinspeq@1.0.0 start /Users/mars.hall/Projects/reqinspeq
20+
> node server.js
21+
22+
Listening on http://localhost:3333
23+
24+
➡️ POST /apps/maushausparty/slugs
25+
authorization: Bearer xxxxx
26+
accept: application/vnd.heroku+json; version=3
27+
content-type: application/json
28+
host: localhost:3333
29+
connection: close
30+
user-agent: Paw/3.1.8 (Macintosh; OS X/10.14.3) GCDHTTPRequest
31+
content-length: 79
32+
33+
{"process_types":{"spinspinsugar":"echo \"\ud83c\udf6d\""},"stack":"heroku-18"}
34+
35+
36+
➡️ GET /hamurai?data=eyJzb3VyY2UiOiJhcGkiLCJldmVudCI6IkFQSSByZXF1ZXN0IEdFVCAvYXBwcy9zaHJvdWRlZC1jb2FzdC0yMTMzNCIsInJlcXVlc3RlciI6InVua25vd24iLCJ1c2VySWQiOiI5MDAzY2JiMi0xZTA0LTQwZTgtYTFlZi05MmI3ZjE3N2M5YWUiLCJwYWdlIjp7InBhdGgiOiIvYXBwcy9zaHJvdWRlZC1jb2FzdC0yMTMzNCIsInVybCI6Imh0dHA6Ly9sb2NhbGhvc3Q6NTAwMC9hcHBzL3Nocm91ZGVkLWNvYXN0LTIxMzM0Iiwic2VhcmNoIjoiIn0sInByb3BlcnRpZXMiOnsiaHR0cF92ZXJzaW9uIjoiSFRUUC8xLjEiLCJodHRwX2FjY2VwdCI6ImFwcGxpY2F0aW9uL3ZuZC5oZXJva3UranNvbjsgdmVyc2lvbj0zIn19
37+
user-agent: curl/7.54.0
38+
host: localhost:3333
39+
40+
```

0 commit comments

Comments
 (0)