Skip to main content
Server Source code Package

Fetch

Web Standard Fetch API source for walkerOS - deploy to any modern edge or serverless platform.

Where This Fits

The Fetch Source is a server source in the walkerOS flow:

It receives events via the Fetch API and forwards them to your destinations. Works on any platform supporting Web Standards.

Features

  • Platform agnostic: Cloudflare Workers, Vercel Edge, Deno, Bun, Node.js 18+
  • Web Standard: Native (Request) => Response signature
  • Batch processing: Handle multiple events in single request
  • CORS support: Configurable cross-origin resource sharing
  • Pixel tracking: 1x1 transparent GIF for GET requests

Installation

Loading...
path setting renamed to paths

The path setting has been renamed to paths (array). The old path still works but is deprecated and will be removed in the next major version.

// Before (deprecated)
settings: { path: '/events' }

// After
settings: { paths: ['/events'] }

Quick start

Cloudflare Workers

Loading...

More platform examples

The following examples show Integrated mode patterns for various platforms:

Vercel Edge

Loading...

Deno Deploy

Loading...

Bun

Loading...

Configuration

PropertyTypeDescriptionMore
pathstringDeprecated: use paths instead
pathsArray<any>Route paths to handle. String shorthand accepts GET+POST. RouteConfig allows per-route method control.
cors*boolean | objectCORS configuration: false = disabled, true = allow all (default), object = custom
healthPath*stringHealth check endpoint path
maxRequestSize*integerMaximum request body size in bytes
maxBatchSize*integerMaximum events per batch request
* Required fields

Ingest Metadata

Extract request metadata and forward it through the pipeline.

Loading...

Available Ingest Paths

PathDescription
urlFull request URL
headers.get('name')Via function: { fn: (req) => req.headers.get('name') }
note

The Fetch API uses Request objects where headers are accessed via .get() method. Use mapping functions for header extraction.

Usage

Single Event

Loading...

Batch Events

Loading...
💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.