Open j3k0 opened 7 years ago
From what I saw, wordpress is expecting a nonce
with controller=wp_rest
and no method. But json_api wont let us do that.
In wordpress source code:
$wp_rest_server->send_header( 'X-WP-Nonce', wp_create_nonce( 'wp_rest' ) );
Added this in theme:
Copy nonce from the page source:
Yet, still the same error...
Any results?
Sorry it's been a while. I don't even remember why I was doing this.
output: