Hi,
I’m trying to add a host to my server through the API, but I get a 500 response back.
I’m using Thunder Client (postman for vscode) to send the requests with all the tokens and content header present. I can successfully issue GET and PUT commands, but only get a 500 status back for POST requests.
Endpoint target: http://myfogserver.com/fog/host/
JSON Body:
{
“name”: “APITest”,
“macs”: “A4:BF:01:6E:E4:F2”
}
My objective is to add a basic host to my fog server. Is there an arguement I’m missing which is required?
Any help would be appreciated.
I’m on FOG version 1.5.10