11 个仓库
Mechanisms for altering the format or content of API responses before they are delivered to the client.
Distinct from API Response Manipulations: None of the candidates cover general production-grade response transformation without focusing on mocking or localization.
Explore 11 awesome GitHub repositories matching web development · API Response Transformations. Refine with filters or upvote what's useful.
Axios is a promise-based HTTP client used to make asynchronous network requests in both browser and Node.js environments. It functions as a multi-environment network adapter that abstracts the transport layer to ensure consistent behavior across different runtimes. The project distinguishes itself through a request lifecycle management system that allows for the cancellation of active requests, the setting of timeouts, and the monitoring of upload and download transfer progress. It includes a mechanism for intercepting network traffic, enabling the transformation of outgoing requests and inco
Provides mechanisms to transform raw server response data before it reaches the application logic.
node-http-proxy is a Node.js HTTP proxy library and toolkit used to create programmable reverse proxies, load balancers, and traffic routers. It functions as a system for forwarding HTTP and WebSocket traffic from clients to backend target servers. The project provides capabilities for translating incoming request paths into backend addresses using programmable matching rules. It supports the creation of bidirectional tunnels to facilitate real-time communication via WebSocket proxying. The library covers the modification of request and response headers, including the rewriting of cookies an
Modifies incoming response data in real time by piping chunks through a transformation layer.
🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
Applies a function to modify network response data before delivering it to the subscriber.
AndroidNetworking is an HTTP networking library for Android that handles the full lifecycle of network communication, from sending requests to parsing responses and caching data. It provides a unified interface for executing GET, POST, PUT, DELETE, HEAD, and PATCH requests, with support for both synchronous and asynchronous execution, and includes built-in JSON response parsing that converts server responses directly into Java objects or lists. The library distinguishes itself through a set of integrated capabilities that go beyond basic request execution. It manages file downloads and upload
Transforms the raw response from a network call into a different object using RxJava operators like Map.
Prism 是一套用于根据 OpenAPI 规范或 Postman 集合文件生成模拟服务器和验证代理的工具。它充当 API 合约测试工具,以验证 API 实现是否符合正式合约。 该项目提供了一个 OpenAPI 模拟服务器,用于模拟 API 响应;以及一个验证代理,用于根据 OpenAPI 规范检查实时 HTTP 流量,以识别实现差异。它还包括一个能够根据导出的 Postman 集合文件模拟 API 行为的模拟服务器。 该工具通过模式驱动的模拟生成和基于规范的请求验证,涵盖了 API 行为模拟和流量验证。它利用透明代理拦截将流量转发到后端,同时根据 API 定义验证请求和响应。
Alters mock response content on the fly to simulate different API states or error conditions.
codeigniter-restserver 是一个 REST API 框架和控制器库,用于在 CodeIgniter PHP 环境中构建 RESTful 服务器。它作为一个后端实现,处理标准 HTTP 方法,通过结构化端点暴露数据和功能。 该项目包含一个可自定义的响应引擎,允许通过自定义格式化方法将输出数据转换为各种特定格式。 该库提供了将传入的 HTTP 请求映射到控制器方法、管理资源响应以及实现基于配置的访问控制的工具。
Ships a system for transforming output data into various specific formats through custom formatting methods.
该项目是一个用于 Node.js 的基于 Promise 的 HTTP 客户端,将回调风格的网络请求包装为 Promise 对象。它作为一个用于向 Web 服务器发送 JSON、表单数据和多部分(multipart)请求的库,同时管理异步流控制。 该库利用专门的 Bluebird Promise 实现来处理请求和响应生命周期。它包含一个使用 Cookie Jar 的会话管理器,以在多个网络调用之间维护和传输状态。 该工具涵盖了广泛的网络能力,包括 REST API 集成、响应数据转换和完整 HTTP 响应捕获。它提供了请求取消、针对非成功状态码的可配置错误处理以及网络流量调试的机制。
Implements custom functions to transform raw response bodies into different formats before they are used by the application.
本项目是一个 Laravel 应用程序的存储库模式库,旨在将业务逻辑与数据库查询和存储实现解耦。它提供了一个标准化的数据访问层,以将应用程序逻辑与底层存储层隔离开来。 该库包括一个查询过滤器系统,可将 HTTP 请求参数转换为动态数据库过滤器、搜索条件和排序逻辑。它具有一个 API 展示层,用于将内部数据结构与客户端响应分离,以及一个在记录被修改时自动刷新存储数据库结果的缓存管理器。 其他功能包括用于生成控制器、模型和存储库的命令行工具,以及在数据持久化之前强制执行业务规则的验证器类。
Transforms database models into clean API outputs using a presenter-based transformation layer.
Apollo Kotlin is a strongly-typed GraphQL client and code generation library designed for Kotlin and JVM applications. It functions as a comprehensive development tool that transforms GraphQL schema definitions and query documents into type-safe models during the build process, ensuring that data access errors are identified at compile time rather than at runtime. The project distinguishes itself through its multiplatform runtime abstraction, which allows developers to share data fetching and caching logic across Android, iOS, and desktop environments. It provides a normalized local caching s
Selects, renames, and restructures complex response payloads to match the expected format of the unified data schema.
ng-admin 是一个用于生成低代码管理仪表板和图形用户界面的 AngularJS 框架,用于管理 RESTful API 数据。它充当 REST 客户端 GUI,将 HTTP 请求和响应转换为可编辑的表单和数据表。 该框架利用声明式配置将 API 端点映射到 UI 组件,并根据提供的模式对象生成界面视图。它允许通过拦截器自定义 API 客户端,这些拦截器转换传入和传出的数据格式以匹配特定的服务器需求。 该系统提供用于实体数据 CRUD 操作和关系处理的标准功能。它包括用于基于配置的路由、界面本地化以及集成自定义页面和仪表板组织的机制。视觉布局可以通过基于模板的主题覆盖和针对特殊数据类型的动态字段注入进行修改。
Provides interceptors to transform incoming and outgoing HTTP requests to align server data formats with client requirements.
This project is a set of hands-on labs for practicing cloud development, focusing on implementing web apps, functions, storage solutions, and containerized workloads. It provides a practical framework for developing solutions within the Azure ecosystem. The content covers a wide range of specialized cloud capabilities, including serverless development with HTTP and timer triggers, container orchestration using apps and instances, and API management for routing and transforming traffic. It also emphasizes identity and access management through OpenID Connect and managed identities. Additional
Modifies the format or content of outbound API data to meet specific client requirements.