Creating a new host using foreman API

Using foreman API is fairly simple, in here I’ll show an example using curl.


This is a companion discussion topic for the original entry at https://theforeman.org/2012/01/creating-new-host-using-foreman-api.html