Open raffaelecolleo opened 6 years ago
So I've checked the info on the website for the User Plus plugin and it's working. I am able to generate auth cookie and to validate auth cookie but still cannot get the nonce using the info you have on the Plus version website page.
Now the error is:
https://www.domain.com/api/get_nonce?controller=userplus&method=new_post
{"status":"error","error":"Unknown method 'new_post'."}
It is add_post, not new_post. Please correct that typo. Please send me an email and i will send you update version where few bugs have been removed and some new endpoints for custom post types. On Thursday, April 26, 2018, 1:13:54 PM GMT+5, raffaelecolleo notifications@github.com wrote:
So I've checked the info on the website for the User Plus plugin and it's working. I am able to generate auth cookie and to validate auth cookie but still cannot get the nonce using the info you have on the Plus version website page.
Now the error is: {"status":"error","error":"Unknown method 'new_post'."}
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
This error appears when the controller is not activated. Please activate the controller from Admin > Settings > JSON API On Thursday, April 26, 2018, 12:03:20 PM GMT+5, raffaelecolleo notifications@github.com wrote:
When trying to get the nonce with https://domain.com/api/get_nonce?controller=user&method=generate_auth_cookie, I get the following error
{"status":"error","error":"Unknown controller 'user'."}
Any Idea?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
When trying to get the nonce with https://domain.com/api/get_nonce?controller=user&method=generate_auth_cookie, I get the following error
{"status":"error","error":"Unknown controller 'user'."}
Any Idea?