=== REST API Route Tester === Contributors: jawad0501 Tags: rest-api, api, testing, developer-tools Requires at least: 5.0 Tested up to: 6.8 Stable tag: 1.1.0 Requires PHP: 7.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html A tool to test WordPress REST API routes with different user roles and authentication methods. Provides a Postman-like interface inside WordPress to discover routes, craft requests, and inspect responses. == 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) == 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 == Screenshots == 1. Route tester interface with request builder and response panel 2. Route suggestions dropdown with formatted parameters 3. Multiple request tabs with saved state == Frequently Asked Questions == = 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. == 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 == Upgrade Notice == = 1.1.0 = Enhancements to the UI/UX, route discovery, and examples. If upgrading from 1.0.0, no breaking changes. = 1.0.0 = Initial release