Can't create host with API
-
Hello,
I try to create host with fog API but not working. He appears on database, not on web interface. I search how th API working and i don’t find what i want.
Can u tell me what args i have to write in data ?
Thx -
@fausty said in Can't create host with API:
He appears on database, not on web interface.
Probably missing the MAC address…
Did you search the forums?
https://forums.fogproject.org/topic/15848/api-creating-host
https://forums.fogproject.org/topic/11181/api-create-host-error-required-database-field-is-empty -
@sebastian-roth Ok i test again with [] for mac but yesterday i probably write mac nots mac. Thx for help it’s working