worker-echo

Every request to any path except / returns a JSON description of the request: method, URL, query, headers, body and Cloudflare edge metadata (colo, country, city, ASN, client IP).

curl https://echo.w.subey.net/anything?x=1&y=abc

curl -X POST https://echo.w.subey.net/echo \
  -H 'content-type: application/json' \
  -d '{"hello":"world"}'

With content-type: application/json the body is also parsed and returned under body_json. Built with Rust (workers-rs) on Cloudflare Workers — source in src/lib.rs.