-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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
Labels
No labels