{"id":1664,"date":"2018-11-03T12:54:07","date_gmt":"2018-11-03T03:54:07","guid":{"rendered":"https:\/\/n8finch2024.local\/?p=1664"},"modified":"2022-03-11T06:44:29","modified_gmt":"2022-03-10T21:44:29","slug":"more-secure-api-requests-with-wordpress-helper-functions","status":"publish","type":"post","link":"https:\/\/n8finch2024.local\/more-secure-api-requests-with-wordpress-helper-functions\/","title":{"rendered":"More Secure API Requests with WordPress Helper Functions"},"content":{"rendered":"\n
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. <\/p>\n\n\n\n\n\n\n\n
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. <\/p>\n\n\n\n
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.<\/p>\n\n\n\n
Presentation PDF<\/a><\/strong><\/p>\n\n\n\n Photo by marcos mayer<\/a> on Unsplash<\/a><\/p>\n","protected":false},"excerpt":{"rendered":" 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.<\/p>\n","protected":false},"author":1,"featured_media":1666,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[1,46],"tags":[],"yoast_head":"\n