RSS Amplifier

Cole's blog · Sep 14, 2022

Echo: httpbin on Cloudflare Workers

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

As a developer you may have come across the site httpbin.org. The purpose of the website is to provide a simple request and response service. For example, issuing a simple HTTP GET request “echos” back the request as the response, using JSON as the format. curl https://httpbin.org/get { 'args': {}, 'headers': { 'Accept': '*/*', 'Host': 'httpbin.org', 'User-Agent': 'curl/7.79.1', },…

As a developer you may have come across the site httpbin.org. The purpose of the website is to provide a simple request and response service. For example, issuing a simple HTTP GET request “echos” back the request as the response, using JSON as the format. curl https://httpbin.org/get { "args": {}, "headers": { "Accept": "*/*", "Host": "httpbin.org", "User-Agent": "curl/7.79.1", }, "origin": "127.0.0.1", "url": "https://httpbin.org/get" } You can often find usages of httpbin in the wild, and given it is a really simple app it is a great candidate for being built on Workers.

Read on /2022/09/13/echo-httpbin-on-workers/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.