If i try to call the API over curl for KIMAI2 i only get an error message that the page is not found. In the browser the page is there but i am unable to auth.
curl -X GET -H “accept: application/json” -H “X-AUTH-USER: XXX” -H “X-AUTH-TOKEN: XXX” https://XXX.XXX.de/api/ping -k
Result:
<html>
<head><title>302 Found</title><script type="text/javascript" src="/ynh_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynh_overlay.css"></link><script type="text/javascript" src="/ynhtheme/custom_portal.js"></script><link type="text/css" rel="stylesheet" href="/ynhtheme/custom_overlay.css"></link></head>
<body bgcolor="white">
<center><h1>302 Found</h1></center>
<hr><center>nginx</center>
</body>
</html>