@sebastian-roth Not a bad thought.
I enabled the API in FOG Configuration > Fog Settings > API Enabled > Update and copied the API key.
I then created a new user and got their API key.
I am trying this:
curl -H 'fog-api-token: <server token>' -H 'fog-user-token: <user token>' -H 'Content-Type: application/json' -X GET http://fog.home/fog/system/info
And I get a 404:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /fog/system/info was not found on this server.</p>
<hr>
<address>Apache/2.4.33 (Ubuntu) Server at fog.home Port 80</address>
</body></html>
Something else I need to do to enable?
EDIT:
Switched to working branch as per this, no luck: https://forums.fogproject.org/topic/11764/api-broken-after-update-to-1-5-2
Same issue when trying via IP instead of DNS name.