Advanced REST API DevTools

描述

Advanced REST API DevTools brings the power of Postman directly into your WordPress admin dashboard. Explore routes, build and test API requests, profile performance, log traffic, manage collections and environments — all without leaving the admin area.

Features:

  • Route Explorer — Browse all registered REST API routes with search, filter, and source detection
  • Request Builder — Full-featured request builder with method, headers, body, auth options
  • Pre-request Scripts — Dynamic variable/header manipulation before sending
  • Test Assertions — Post-response assertions (status, JSON path, contains, equals)
  • Collections — Save, organize, and run request collections with pass/fail results
  • Environments — Manage variable sets with {{var}} syntax replacement
  • Request History — Browse and reload recent requests
  • Performance Profiler — Timing breakdown (routing, permissions, callback, DB queries)
  • Authentication Debugger — View current user auth context, caps, and method validation
  • Request Logger — Opt-in REST API traffic logging with filters and auto-purge
  • Mock Responses — Stub mock responses for offline/testing workflows
  • Code Generation — Export requests as cURL, PHP (wp_remote_*), or JavaScript (fetch)

安装

  1. Upload the advanced-rest-api-devtools folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to Tools REST DevTools

常见问题

Who can access the plugin?

Only users with the manage_options capability (typically Administrators).

Does it affect site performance?

No. The plugin only runs on its admin screens. Request logging is opt-in and includes automatic cleanup.

Can I test external APIs?

The plugin is designed for your site’s REST API (loopback requests). External API testing is not currently supported.

评价

2026 年 4 月 5 日
Thank you for creating this. Might come in handy one day to poke around the REST API.
阅读所有1条评价

贡献者及开发者

「Advanced REST API DevTools」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.1.0

  • Initial release with full feature set
  • Route explorer with caching and source detection
  • Request builder with pre-scripts and assertions
  • Collections, environments, history, profiler, logger
  • Mock response simulation
  • Code generation (cURL/PHP/JS)