• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. cornycopia
    3. Best
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by cornycopia

    • Unable to create host through API

      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

      posted in FOG Problems
      C
      cornycopia
    • 1 / 1