Back to all articles
Tutorial

Programmable to the max - making an API with Zuplo

Josh Twist
·
March 15, 2022
·
1 min read

Learn how to build a simple API at the Edge using Zuplo - the programmable API gateway.

March 15, 2022

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 /(.*).

Length: 3 minutes

Here's the code from the echo API we create

TypeScriptts
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 };
}

Related Articles

Continue reading from the Zuplo blog.

TypeScript

Why Your API Gateway Should Be TypeScript-Native

TypeScript surged 66% to become GitHub's most-used language, driven by AI coding tools. Learn why a TypeScript-native API gateway gives you a real edge.

6 min read
API Monetization

Why API Monetization Should Be Flexible

There's no one-size-fits-all model for modern API pricing. Monetization engines should go beyond default pricing models with granular control and programmability when needed.

3 min read

Scale your APIs with
confidence.

Start for free or book a demo with our team.
Book a demoStart for Free
SOC 2 TYPE 2High Performer Spring 2025Momentum Leader Spring 2025Best Estimated ROI Spring 2025Easiest To Use Spring 2025Fastest Implementation Spring 2025

Get Updates From Zuplo

Zuplo logo
© 2026 zuplo. All rights reserved.
Products & Features
API ManagementAI GatewayMCP ServersMCP GatewayDeveloper PortalRate LimitingOpenAPI NativeGitOpsProgrammableAPI Key ManagementMulti-cloudAPI GovernanceMonetizationSelf-Serve DevX
Developers
DocumentationBlogLearning CenterCommunityChangelogIntegrations
Product
PricingSupportSign InCustomer Stories
Company
About UsMedia KitCareersStatusTrust & Compliance
Privacy PolicySecurity PoliciesTerms of ServiceTrust & Compliance
Docs
Pricing
Sign Up
Login
ContactBook a demoFAQ
Zuplo logo
DocsPricingSign Up
Login