REST API Route Tester

Description

REST API Route Tester is a powerful tool for WordPress developers and administrators to test and debug REST API endpoints directly from the wp-admin. It provides a user-friendly interface to:

  • View all registered REST API routes, grouped by plugin
  • Test routes with HTTP methods (GET, POST, PUT, DELETE)
  • Switch between different user roles to test permissions
  • Send custom headers and body data (JSON)
  • View detailed responses including status codes and response time
  • Create multiple request tabs and persist state between sessions
  • Auto-suggest routes with a searchable dropdown; auto-select primary method
  • Generate example payloads based on route schema (via OPTIONS discovery)

Screenshots

  • Route tester interface with request builder and response panel
  • Route suggestions dropdown with formatted parameters
  • Multiple request tabs with saved state

Installation

  1. Upload the plugin files to the /wp-content/plugins/rest-api-route-tester directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Tools->REST Route Tester screen to use the plugin

FAQ

What permissions do I need to use this plugin?

You need to have the ‘manage_options’ capability to use this plugin, which is typically granted to administrators.

Can I test authenticated endpoints?

Yes, you can test authenticated endpoints by selecting different user roles from the dropdown menu.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“REST API Route Tester” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.0

  • Added multi-tab requests with state persistence via localStorage
  • Grouped routes by plugin with plugin filter dropdown
  • Added route suggestions with human-readable parameter formatting
  • Auto-select primary HTTP method for selected route
  • Generated example headers/body from route schema via OPTIONS discovery
  • Displayed response time for each request
  • Improved validation and permission checks in AJAX handlers

1.0.0

  • Initial release