Skip to content

Latest commit

 

History

History
24 lines (11 loc) · 1 KB

README.md

File metadata and controls

24 lines (11 loc) · 1 KB

ShortRest - The Shortcode REST API Plugin

NOTE: This is a very proof-of-concept project in its early stages and should not be used in a Production environment. Feel free to contribute!

You no longer have to write code to consume an API's contents and put it in your site!

  1. Find an API you'd like to consume, like https://catfact.ninja/fact for example:

image

  1. Create a new "ShortRest Request" and configure it accordingly (take notice of its post ID):

image

  1. Paste in the "sr_request" shortcode with the ID of the Request and the field you'd like to see in the frontend:

image

  1. Ta-da!

image