Programmable to the max - making an API with Zuplo

Length: 3 minutes

In this video we see just how programmable the Zuplo gateway is by going full tilt and building a simple API using Function Handlers 🤯

We also look at wildcard routes like so /(.*).

Here's the code from the echo API we create

import { ZuploContext, ZuploRequest } from "@zuplo/runtime";
 
export default async function (request: ZuploRequest, context: ZuploContext) {
  const { url, query } = request;
 
  const body = await request.text();
 
  return { url, query, body };
}

Designed for Developers, Made for the Edge