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〉的開發相關工作。

參與者

將〈Advanced REST API DevTools〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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)