I have installed the GUESTAPI and I have login via API to omeka platform and I am trying to change password according to readme file,
Other http methods are available to update the profile with the same path. For example to update (http method PATCH/POST):
But I get " Omeka\Mvc\Exception\PermissionDeniedException"
Permission denied for the current user to access the controller GuestApi\Controller\ApiController. in /var/www/html/omeka/application/src/Mvc/MvcListeners.php:449
You are right Daniel!
I use the api with a url like this,
http://…/omeka/api/users/17?name=marios&key_identity=0KYkBBWzJ1MoaOo5348NGOpz75hDtxdP&key_credential=ILssz1yIAv7Szmjz67XEIrPyfi2jlaze
with the right key_identity and key_credential but the name is not changed. This also happens for email, password.
Are you sure there’s not just a syntax error in the JSON you’re submitting to the API (or possibly you’re not submitting JSON at all)? That’s the simple answer here.