Page 1 of 1

API POST Methods permissionDenied

Posted: Tue Nov 06, 2018 3:26 pm
by evandropezzi

I'm trying to use the API docs to understand the Methods.
So i'm testing same methods with the button "Try it out!" and the GET methods it's working. But all the POST methods are returning code 403 (permissionDenied).

I'm using my login and password, and the api generate the authorization line in the header (Authorization: Basic ZXZhbmRyb3BheW9uOnBheW9uMTIz). I don't know if it is correct.

Can someone help me please?


Re: API POST Methods permissionDenied

Posted: Thu Nov 15, 2018 1:44 pm
by jalcfer
hello, what methods are you trying to test and what user and password are you using? remember in the page you need to create an user in the page and test the methods with that user or use the demo user:

Demo user

You can login with the pre-configured demo account:
User: demo
Password: 1234

Some examples of customized layouts can be seen logging in with the users:
Users: demo2, demo3
Password (for both users): 1234

i'm developing a react-native app and that page are very useful.

Jaime Alberto

Re: API POST Methods permissionDenied

Posted: Mon Nov 19, 2018 8:54 am
by evandropezzi
Hello Jaime,

I just used the authorization method first and works.

I'm developing an angular frontend.