Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/rest api endpoint #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Add/rest api endpoint #4

wants to merge 3 commits into from

Conversation

KokkieH
Copy link
Owner

@KokkieH KokkieH commented Apr 11, 2022

This PR extends the WordPress REST API to fetch quotes from the stands4.com web API, as per #1

Testing instructions

  • Visit plugin settings page and enter valid API credentials for the stands4.com Quotes API
  • In your browser, view {site_URL}/wp-json/kokkieh/v1/quote - it should display a JSON object containing quotes from William Shakespeare

Changed settings so api credentials are stored as strings rather than arrays
@KokkieH KokkieH marked this pull request as ready for review April 11, 2022 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant