Title: JSON update_post authorization problem
Last modified: August 22, 2016

---

# JSON update_post authorization problem

 *  Resolved [pawelo](https://wordpress.org/support/users/pawelo/)
 * (@pawelo)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/json-update_post-authorization-problem/)
 * Hi,
 * when trying to call a method: localhost/api/posts/update_post/ without being 
   logged in to the system, I allways get the error: “Post not found.”. When I login
   to the WP, then the call find the correct post.
 * how to use this method, without direct login to the admin panel.
 * I have installed the JSON API Auth plugin, and generated the auth cookie, but
   what next? Can I now make to this method (localhost/api/posts/update_post/) worked?
 * [https://wordpress.org/plugins/json-api-auth/](https://wordpress.org/plugins/json-api-auth/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/json-update_post-authorization-problem/#post-5449407)
 * This is wrong forum, you are asking about JSON API plugin method but I will reply
   anyway.
 * To use this method (localhost/api/posts/update_post/), user must be logged in.
 * you cannot use this without getting logged in. As I mentioned in other post here
   [https://wordpress.org/support/topic/json-ap-method-not-work?replies=1](https://wordpress.org/support/topic/json-ap-method-not-work?replies=1)
 * I also mentioned that shortly I’m going to release the pro version of my other
   plugin ‘JSON API User’, that will allow you to do it via REST authentication.

Viewing 1 replies (of 1 total)

The topic ‘JSON update_post authorization problem’ is closed to new replies.

 * ![](https://ps.w.org/json-api-auth/assets/icon-256x256.png?rev=1965697)
 * [JSON API Auth](https://wordpress.org/plugins/json-api-auth/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-api-auth/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-api-auth/)
 * [Active Topics](https://wordpress.org/support/plugin/json-api-auth/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-api-auth/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-api-auth/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/json-update_post-authorization-problem/#post-5449407)
 * Status: resolved