HTTP tools
httpie
# こんな感じで JSON を POST できる
$ http -v "https://httpbin.org/anything" "x-my-header: xxxx" foo[bar]=fizz
# 同等の処理を curl でやるとこんな感じ
$ curl -v "https://httpbin.org/anything" -X POST -H "x-my-header: xxxx" --data '{"foo": {"bar": "fizz"}}'
レスポンスは自動的にインデントとシンタックスハイライトがされる。
curlie
- github
- リッチなcurl
Insomnia
- https://insomnia.rest
- GUIのHTTPクライアント
- GraphQL にも対応してる
Postman
- https://www.postman.com
- GUIのHTTPクライアント
Hoppscotch
- https://hoppscotch.io/ja/
- ブラウザで動作するGUIのHTTPクライアント
httpbin
- https://httpbin.org/
- 色んな種類のレスポンスを返すWebサーバ。HTTPクライアントの検証として使える。
ngrok
- tunneling tool
- awesome-tunneling
- doc
- ngrok | λ沢.dev
Caddy
- ACME を実装した Web サーバ (certbot + nginx 的なイメージ)
- https://caddyserver.com/docs/getting-started
webhook.site
- https://webhook.site/
- Webhookの受け側を生成するサイト
- Webhookの受け側を作るときにリクエストを観察するために使う
mitmproxy
- https://mitmproxy.org/
- ローカルで使うプロキシ
- ブラウザを介さないWebサーバを作るときにreq/resを観察するために使う
python -m http.server 8000
mitmweb --mode reverse:http://localhost:8000 --listen-port 8001 --web-port 8002
curl localhost:8001
open http://locahost:8002
BurpSuite
CyberChef
雑多な変換処理を行えるウェブサイト。
- base64
- URL エンコード/デコード
- gunzip
- zlib deflate
- JWT デコード
- などなど
使用例: