dphiffer / wp-json-api

WordPress JSON API
http://wordpress.org/extend/plugins/json-api/
258 stars 181 forks source link

Your 'nonce' value was incorrect. Use the 'get_nonce' API method. #42

Open emmjk opened 6 years ago

emmjk commented 6 years ago

I tried to use the plugin from postman to query data from wordpress site , but this is the best i could go . I'v been receiving this same error for weeks now . What i have already tried

-> I'v tried to add cookie as a header with cookie_name=cookie_value as the value of the field , but still got the same result .

->Trying to run the same post request without cookie in the header here is the error i get "You need to login with a user that has 'edit_posts' capacity" which i thought using cookie to identify the user will make lots of sense just like in creating a comment .

emmjk commented 6 years ago

Note I tried the same post request with same parameter and it works fine without any error nor warning .