Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: Djelibeybi on September 23, 2015, 05:50:39 pm

Title: JSON API access
Post by: Djelibeybi on September 23, 2015, 05:50:39 pm
Hi,

I can get the XML API to work, but I can't seem to find the right incantation to get the JSON API to work. Whatever I try, it returns a "Invalid username or password" error. For the admin user, for the staff member I created specifically for API access (which has API access enabled, I checked).

Is there some more magic that needs to be done for this?

Thanks!
Title: Re: JSON API access
Post by: Djelibeybi on September 23, 2015, 05:54:17 pm
Actually, it seems like the XML API only works for the admin user. I can't get it to work for my API user.
Title: Re: JSON API access
Post by: Djelibeybi on September 23, 2015, 06:00:21 pm
Ok, more weirdness. With the XML API, I can access the system class with the admin password, but the server class just returns invalid username and password. With or without "admin|" in the password field.

Does anyone have a step-by-step guide to create and use either an XML or JSON API user?