Rucho
  • Getting Started
  • API Reference
  • Guides
Search
K
Rucho
1.6.0
  • Overview
      • Serves a welcome message at the root path (`/`).get
      • Echoes back details of the incoming request for any HTTP method.head
      • **OpenAPI Documentation Handler for `/anything/*path`**.head
      • Handles DELETE requests to `/delete`.delete
      • Lists all available API endpoints provided by this server.get
      • Handles GET requests to `/get`.get
      • Handles HEAD requests to `/get`.head
      • Returns all request headers as a JSON object.get
      • Returns the client's IP address.get
      • Handles OPTIONS requests to `/options`.options
      • Handles PATCH requests to `/patch`.patch
      • Handles POST requests to `/post`.post
      • Handles PUT requests to `/put`.put
      • Responds with the HTTP status code specified in the path.head
      • Returns the User-Agent header from the request.get
      • Returns a randomly generated UUID v4.get
      • Handles requests to the `/base64/:encoded` endpoint.get
      • Returns a brotli-encoded JSON echo (`Content-Encoding: br`).get
      • Returns a deflate-encoded JSON echo (`Content-Encoding: deflate`).get
      • Returns a gzip-encoded JSON echo of the request (`Content-Encoding: gzip`).get
      • Returns `n` random bytes as the response body.get
      • `/cache` — conditional-request endpoint.get
      • `/cache/:n` — returns `200` with `Cache-Control: public, max-age=n`.get
      • Returns all cookies from the request as JSON.get
      • Deletes cookies via the `DELETE` method on `/cookies` — RESTful symmetry withdelete
      • Deletes cookies by setting `Max-Age=0` and redirects to `/cookies`.get
      • Sets cookies from query parameters and redirects to `/cookies`.get
      • Handles requests to the `/delay/:n` endpoint.head
      • Streams `numbytes` bytes of `*` over `duration` seconds.get
      • Handles requests to the `/healthz` endpoint.get
      • Returns a small sample HTML document as `text/html; charset=utf-8`.get
      • Returns a small sample XML document as `application/xml`.get
      • Returns a small sample image in the requested `format`.get
      • Handler for the `/metrics` endpoint.get
      • Returns `n` bytes of deterministic content with range-request support.get
      • Handles requests to the `/redirect/:n` endpoint.head
      • Echoes each query parameter as a response header and in the JSON body.get
    • EndpointInfo
    • Payload
Rucho
Rucho
rucho
  • API Reference
  • Swagger UI (live)
  • Runtime endpoint list
Source
  • GitHub
  • Releases
  • Docker Hub