Topher DeRosia
|

Talking to Other Sites with the WP HTTP API – Topher DeRosia

Topher DeRosia

Why Talk To Other Sites?

  • Ask them questions – Getting Data
  • Tell them things – Process Requests.

How is This Done?

  • GET – wp_remote_get()
  • POST – wp_remote_post()
  • HEAD – wp_remote_head()

Cache API Content

WordPress Sites (/wp-json) – pull public WordPress site data

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.