Hmm...might also be, that not the index.php returns the 401, but you
server...
Try this:
comment out the authentication:
/*
if(!Junaio::checkAuthentication)
{
...
}
*/
Now validate again. If there is still the 401, there is some other
issue.
If not, it means that the validation fails. This can be caused by:
- invalid api key (usually the case, that is why it is written in the
validation)
- server time differs more than 15 minutes from the request time
(default - can be changed in the config.php)
Let me know what happened...
Cheers,
Frank