WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
Get JSON from within theme (2 posts)

  1. chris_mcclellan
    Member
    Posted 1 year ago #

    So after some hackety hacking... i decided to go with cURL for a brief minute.
    The solution to getting your JSON in a theme or plugin.

    $theBody = wp_remote_retrieve_body( wp_remote_get('http://localhost') );
    http://codex.wordpress.org/HTTP_API

    http://wordpress.org/extend/plugins/json-api/

  2. chris_mcclellan
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.