About this lab
Last change: 16 November 2026
A request lab for the part of API work that happens before the code is written.
What it is
hook.pikkola.com is one of a set of small browser tools made by Pikkola. This one builds an HTTP request, sends it from a Cloudflare Worker instead of from your tab, and shows everything that came back: the status, the time at the edge and around the trip, every response header, the redirect chain and the body, folded into a tree when it is JSON.
Why the request leaves from the edge
A browser refuses most cross origin calls and hides most response headers. That is the right behaviour for a page, and the wrong one when the question is what an API actually said. A request from a server has no origin to police, so the answer arrives whole.
The trade is honest and worth stating: the call comes from Cloudflare's network, not from your machine. An API that limits anonymous calls by IP address may answer 403 or 429 here when it answers 200 in your terminal, and a service that only exists on your laptop cannot be reached at all.
What it will not do
- It will not reach localhost, a private range or a cloud metadata endpoint, on the first hop or after a redirect.
- It keeps no history. A response lives in the page until you send the next one.
- It does not retry. One press is one request, which is the only way a timing number means anything.
- It does not send a body over 128 kB, read more than 512 kB of a response, or wait past 15 seconds.
- It is not a load tester. A hundred and twenty requests a minute per address, and nothing in parallel.
The payload presets
The webhook section carries payload shapes for Slack, Discord, GitHub, Stripe and Shopify. Each one loads into the same editor, and the structure check reads that payload in the page: which fields the platform requires, which types it expects, and the length limits it enforces. It is a reading aid, not the platform's own validator. Only the platform can say what it will accept, and the answer is the response you get back.
How it is built
A static site on Cloudflare Pages, behind a Worker that serves the page and answers /api/send. The private address gate is the same code that fronts ssl.pikkola.com. No framework on the client, no build step, and no third party script on the page.
Who makes it
Pikkola is a small studio in Seoul, run by one person and a set of assistants. The tools are free and accountless. Field guides and the Pikkola Watch subscription pay for the servers. Write to hello@pikkola.com.
Back to the lab
이 랩에 대하여
최종 변경: 2026년 11월 16일
코드를 쓰기 전에 벌어지는 API 작업을 위한 요청 랩입니다.
무엇인가
hook.pikkola.com은 피콜라가 만드는 작은 브라우저 도구 중 하나입니다. 이 도구는 HTTP 요청을 만들고, 브라우저 탭이 아니라 클라우드플레어 워커에서 보낸 뒤, 돌아온 것을 전부 보여 줍니다. 상태, 엣지에서 잰 시간과 왕복 시간, 모든 응답 헤더, 리다이렉트 경로, 그리고 JSON이면 트리로 접은 본문까지.
왜 엣지에서 보내는가
브라우저는 대부분의 교차 출처 호출을 거절하고 응답 헤더도 대부분 가립니다. 페이지로서는 옳은 동작이지만, API가 실제로 뭐라고 했는지 알고 싶을 때는 방해가 됩니다. 서버에서 보낸 요청에는 지킬 출처가 없으니 응답이 통째로 도착합니다.
대신 치를 값도 분명합니다. 호출은 여러분의 기기가 아니라 클라우드플레어 네트워크에서 나갑니다. 익명 호출을 IP로 제한하는 API는 터미널에서 200을 주더라도 여기서는 403이나 429를 줄 수 있고, 노트북에서만 도는 서비스에는 아예 닿을 수 없습니다.
하지 않는 일
- localhost, 사설 대역, 클라우드 메타데이터 주소에는 첫 홉에서도 리다이렉트 뒤에서도 닿지 않습니다.
- 기록을 남기지 않습니다. 응답은 다음 요청을 보낼 때까지 이 페이지에만 있습니다.
- 다시 보내지 않습니다. 한 번 누르면 한 번의 요청이고, 그래야 시간 숫자가 의미를 가집니다.
- 128 kB가 넘는 바디를 보내지 않고, 응답은 512 kB까지만 읽고, 15초를 넘기지 않습니다.
- 부하 테스트 도구가 아닙니다. 주소당 1분에 120회, 동시 요청은 없습니다.
페이로드 프리셋
웹훅 섹션에는 슬랙, 디스코드, GitHub, Stripe, 쇼피파이의 페이로드 모양이 들어 있습니다. 고르면 같은 편집기로 들어오고, 구조 검사는 그 페이로드를 페이지 안에서 읽습니다. 플랫폼이 요구하는 필드, 기대하는 타입, 적용되는 길이 제한까지. 다만 이건 읽기를 돕는 검사이지 플랫폼의 검증기는 아닙니다. 무엇을 받아 줄지는 그 플랫폼만 알 수 있고, 답은 실제로 보낸 응답으로 돌아옵니다.
어떻게 만들었나
클라우드플레어 페이지스에 올린 정적 사이트이고, 앞단의 워커가 페이지를 서빙하면서 /api/send를 처리합니다. 사설 주소 차단은 ssl.pikkola.com 앞단과 같은 코드입니다. 클라이언트에 프레임워크도, 빌드 단계도, 외부 스크립트도 없습니다.
만드는 사람
피콜라는 서울의 작은 스튜디오이고, 한 사람과 몇 개의 비서가 운영합니다. 도구는 무료이고 계정이 없습니다. 필드 가이드와 피콜라 감시 구독이 서버 값을 냅니다. hello@pikkola.com으로 연락 주세요.
랩으로 돌아가기
このラボについて
最終更新: 2026年11月16日
コードを書く前に起きるAPIの作業のための、リクエストラボです。
これは何か
hook.pikkola.com は、Pikkola が作る小さなブラウザ道具のひとつです。HTTPリクエストを組み立て、タブではなく Cloudflare Worker から送り、返ってきたものを全部表示します。ステータス、エッジでの時間と往復時間、すべての応答ヘッダー、リダイレクト経路、そしてJSONならツリーに畳んだ本文まで。
なぜエッジから送るのか
ブラウザは多くのクロスオリジン呼び出しを断り、応答ヘッダーの大半を隠します。ページとしては正しい振る舞いですが、APIが実際に何と言ったかを知りたいときには邪魔になります。サーバーから送るリクエストには守るべきオリジンがないので、応答は丸ごと届きます。
代わりに払うものも明確です。呼び出しはあなたの端末ではなく Cloudflare のネットワークから出ます。匿名の呼び出しをIPで制限するAPIは、ターミナルで200を返してもここでは403や429を返すことがあり、ノートPCの中だけで動くサービスにはそもそも届きません。
しないこと
- localhost、プライベート範囲、クラウドメタデータのアドレスには、最初のホップでもリダイレクトの先でも届きません。
- 履歴を残しません。応答は次の送信までこのページにあるだけです。
- 再送しません。1回押せば1リクエストで、だから時間の数字に意味が出ます。
- 128 kBを超えるボディは送らず、応答は512 kBまで読み、15秒を超えて待ちません。
- 負荷試験の道具ではありません。アドレスあたり1分に120回、並列の送信はありません。
ペイロードのプリセット
ウェブフックの節には、Slack、Discord、GitHub、Stripe、Shopify のペイロードの形が入っています。選ぶと同じエディタに入り、構造チェックはそのペイロードをページの中で読みます。プラットフォームが求めるフィールド、期待する型、かかる長さ制限まで。ただしこれは読むための補助で、プラットフォーム自身の検証器ではありません。何を受け取るかはそのサービスだけが知っていて、答えは実際に送った応答として返ります。
どう作っているか
Cloudflare Pages の静的サイトで、前段の Worker がページを配りながら /api/send に答えます。プライベートアドレスの門番は ssl.pikkola.com の前段と同じコードです。クライアントにフレームワークも、ビルド工程も、外部スクリプトもありません。
作っている人
Pikkola はソウルの小さなスタジオで、一人と幾つかのアシスタントが運営しています。道具は無料でアカウントはありません。フィールドガイドと Pikkola Watch の購読がサーバー代を払います。hello@pikkola.com までどうぞ。
ラボに戻る