WordPress.org

Ready to get started?Download WordPress

Forums

WP API
Jsonp Callback (1 post)

  1. Darko
    Member
    Posted 1 year ago #

    Hi, thanks for the great plugin.

    I am trying to find a way to retrieve information via jsonp with your plugin but unfortunately it doesn't seem working.

    Can you please help me with guiding what do I need to do?

    $.ajax({
    url: 'http://www.domain.com/?wpapi=get_posts&dev=1',
    async: false,
    jsonpCallback: 'jsonCallback',
    contentType: "application/json",
    timeout: 15000,
    ......

    Thank you in advance.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic