8000 GitHub - iwanaga/http-dump: dump http request header and body for debugging
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iwanaga/http-dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

http-dump

dump http request header and body for debugging

セットアップ手順

git clone https://github.com/iwanaga/http-dump.git
node index.js

制約

  • port 3000 を listen
  • サーバ側から TCP の切断を行わない (chunked のデバッグをするため)

動作

リクエスト

curl http://localhost:3000/ -d '{"hoge": "fuga"}'

出力

POST /
host: localhost:3000
user-agent: curl/7.43.0
accept: */*
content-length: 16
content-type: application/x-www-form-urlencoded
{"hoge": "fuga"}
(connection closed)

About

dump http request header and body for debugging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0