|

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

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.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)