More Secure API Requests with WordPress Helper Functions

Nate Finch (03.Nov.2018 at 14:00, 20 min)
Talk at Madison PHP Conference 2018 (English - US)

Rating: 5 of 5

Making API requests with JavaScript is something web developers do everyday. API services often require you to keep API keys out of the browser or route your requests through a server to secure the request. These requirements are meant to keep the API secure and not overloaded with hijacked requests. We will look at a workflow in WordPress that will route a request through the server and return the information to the browser without a page refresh. This workflow is particularly useful if you want or need to keep your API keys secret or out of the browser client, and make requests from a server and not the browser.

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

Please note: you are not logged in and will be posting anonymously!
= one plus four


Rating: 4 of 5

04.Nov.2018 at 12:46 by M (11 comments) via Web2 LIVE

Good presentation. Too much introductory lead-in to the topic at the start, but the key slides (client -> server -> API, and the list of WP methods) were worth attendance alone. I thought you handled the time constraint well, too.

Rating: 5 of 5

04.Nov.2018 at 19:03 by Alex Fraundorf (30 comments) via Web2 LIVE

This was a well done, quick and to-the-point lesson on the subject matter, covering how to do the front end JavaScript and backend PHP in a WordPress environment.
Thank you.

© 2019