Querying external APIs with XML data using WordPress
Автор: TechiePress
Загружено: 2022-12-20
Просмотров: 3023
Welcome to part 4 of our series on querying external APIs with XML data using WordPress! In this video, we'll be learning how to use recommended and native WordPress methods like wp_remote_post() to make API requests.
We'll start off by discussing the requirements for this tutorial, and then we'll delve into XML and SOAP in WordPress. From there, we'll take a look at the WordPress HTTP Requests class and its various methods.
We'll also be using Postman to make API query requests, and then we'll move on to making an external WordPress API XML request. Along the way, we'll use error_log to debug in WordPress and learn how to get the WordPress API request response body.
Finally, we'll wrap up the video by converting an XML string to JSON in PHP and then converting that JSON string to a PHP array.
Thanks for watching!
VIDEO CHAPTERS
00:00 Intro & Requirements
01:52 XML & SOAP in WordPress
02:34 WordPress HTTP Requests Class & methods
04:57 Using Postman for API query requests
07:27 External WordPress API XML Request
12:24 Using error_log to debug in WordPress
14:31 Getting WordPress API request response body
15:17 Convert XML string to JSON in PHP
16:43 Convert JSON string to PHP array
17:43 Conclusion
Code sample: https://github.com/YTTechiePress/tech...
HOW TO SUPPORT THE CHANNEL
=============================================
Do you like what I am doing?
Buy me a coffee through https://www.buymeacoffee.com/techiepress
Give via PayPal: https://paypal.me/laurencebahiirwa
Visit https://omukiguy.com/support-my-work/
I am social too:
Facebook: / techiepress-100149655032583
Twitter: / omukiguy
Blog & Newsletter: https://omukiguy.com
Github: https://github.com/yttechiepress
-------------------------------------------------------------------------------
LEARN MORE IN THE WELL CURATED PLAYLISTS BELOW
--------------------------------------------------------------------------------
Learn how to build a plugin from scratch: • Plugins Vs Functions.php - Where should I ...
WooCommerce E-Commerce customizations
== Build Free Custom E-commerce Online Shop using WooCommerce - • WooCommerce customizations - Free WordPres...
== Build Free Custom Theme for E-commerce Online Shop using WooCommerce -
• Woocommerce Restaurant Shop - Custom WordP...
====== Build Dynamic Websites with Elementor ======
== Learn the Elementor basics - • Elementor Beginner Tutorials
== Build a custom Elementor Widget from Scratch - • Build Custom Elementor Widgets from scratch
====== How to use WordPress Gutenberg Block Editor ======
WordPress 5.4 Gutenberg Blocks Updates
== • WordPress 5.4 Gutenberg Blocks Updates
WordPress Gutenberg blocks for Designers
== • WordPress Basics Training: Gutenberg block...
Gutenberg WordPress Block Editor tutorials for beginners
== • WordPress Basics Training: WordPress Guten...
Custom WooCommerce Gateway Development from Scratch
== • Build Custom WooCommerce Payment Gateway
WordPress Custom REST API Namespaces, Endpoints and Examples from Scratch
== • Create Custom WordPress REST API POST Endp...
====== WordPress Plugin Development from Scratch ======
Build Most Popular & Most Commented Post Plugin
== • Build WordPress Most Popular & Most Commen...
Build SMS Plugin with External WordPress API Integration using custom WordPress Databases
== • Build SMS Plugin - External WordPress API ...
WordPress External APIs Integration Plugin Development
== • WordPress External APIs Integration Plugin...
Convert WordPress to mobile App in Headless WordPress
== Convert WordPress Sports Website into Mobile Application - https://www.youtube.com/playlist?list...
Make GraphQL API endpoints with WordPress Headless CMS WPGraphQL Plugin
== • Make GraphQL API endpoints with WordPress ...
Customize Your WordPress & ClassicPress
== Build Custom REST API Endpoints with WordPress or ClassicPress - • Build Custom REST API Endpoints with WordP...
Custom Dashboard Widgets
== • Custom Dashboard Widgets WordPress & Class...
Build Custom Admin
== • Custom Admin for WordPress or ClassicPress
Learn Git
== Git tutorial for writers + software developers for beginners - • Git tutorial for beginners - writers + sof...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: