1 个仓库
Client-side tools specifically designed to interact with structured data services like JSON APIs.
Distinct from JSON APIs: Distinct from JSON APIs [f3_mt2] as it is the client-side consumer rather than the service provider.
Explore 1 awesome GitHub repository matching web development · API Clients. Refine with filters or upvote what's useful.
r2 是一个 JavaScript HTTP 客户端库和异步请求库,用于执行网络调用。它提供了一个运行时无关的网络层,抽象了底层的 HTTP 实现,以确保在不同的 JavaScript 执行环境中行为一致。 该库作为一个 JSON API 客户端,自动解析响应体并格式化输出的有效载荷。它利用基于 Promise 的接口来管理 HTTP 请求和响应的生命周期。 该项目涵盖了 REST API 集成和 HTTP 头部管理,允许用户将自定义键值对附加到输出请求中。它包括一个中间件风格的请求流水线,并根据 HTTP 头部进行内容协商,以处理数据序列化。
Automatically formats outgoing payloads and parses incoming response bodies for seamless JSON API communication.