Skip to content

error #4

@soju-thomas

Description

@soju-thomas

for the json_url in the code i use
$consumer = array(
'consumer_key' => '**********',
'consumer_secret' => '**
*******************************************************88',
'json_url' => '(http://myproject.info/wpsingle/wp-content/plugins/my_plugin/json-rest-api/lib/wp-json.php',
);
$api = new WDS_WP_JSON_API_Connect( $consumer );
$auth_url = $api->get_authorization_url( array( 'test_api' => $_GET['test_api'] ) );

eg(http://myproject.info/wpsingle/wp-content/plugins/my_plugin/json-rest-api/lib/wp-json.php)

ends up in error.

[errors] => Array ( [wp_json_api_connection_failed_error] => Array ( [0] => There was a problem connecting to the API URL specified. ) ) [error_data] => Array ( )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions