Skip to main content

CurateClick

github.com favicon

resreq

一个基于 Fetch API 的现代 HTTP 客户端,采用洋葱模型实现中间件机制,可优雅地拦截请求和响应。

Check out resreq on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

什么是 resreq ?它是一个基于 Fetch API 的现代 HTTP 客户端,内部使用洋葱模型实现,因此您可以使用中间件优雅地拦截请求和响应。## 简单示例## 使用中间件相比 Axios 等库请求响应拦截要分开写在两个函数,它的优点是使用中间件 use() 一个方法搞定,如果你使用过 Koa 应该很熟悉这种套路。## 项目地址

Latest Weekly Picks

promptbuilder.cc favicon
Weekly Pick

Generate, optimize, test, and manage AI prompts in one place. Turn an idea into a ready-to-use prompt in seconds.

Prompt Builder
freqz.net favicon
Weekly Pick

Your Personal K-Style Vibe Photo Studio

Freqz
webleadr.com favicon
Weekly Pick

Find and contact web design leads and businesses without websites, like local dentists, effortlessly from any location in just a few clicks.

Webleadr

the art of having something to say

pretty-scale.com favicon
Weekly Pick

How Pretty Are You? Let AI Decide.

Pretty Scale
c2story.com favicon
Weekly Pick

Create Illustrated Stories with AI

C2story

Impromptu Speech Topics & Timer

Seedance 2.0: Multimodal AI video creator. Precisely direct characters and cameras to create production-ready, multi-shot cinematic stories in one click.