REST Console Embed
Embed a console for exploring REST APIs in your content. Based on Automattic’s WordPress.com Console. For the console to work properly, the target API will need to: * respond to versioned requests, specified in the URL (e.g. /api/v1/endpoint ) * expose a /versions endpoint to provide metadata about
Embed a console for exploring REST APIs in your content.
Based on Automattic’s WordPress.com Console.
For the console to work properly, the target API will need to: * respond to versioned requests, specified in the URL (e.g. /api/v1/endpoint ) * expose a /versions endpoint to provide metadata about the API\’s different versions * response example here * expose a /help endpoint to provide metadata about the API’s endpoints * response example here
A closer look.
- 01Install REST Console Embed either via the WordPress.org plugin directory, or by uploading the files to your server.
- 02Activate the plugin through the ‘Plugins’ menu in WordPress.
- 03Use the [rest-console] shortcode in your content.