search for: apiusername

Displaying 1 result from an estimated 1 matches for "apiusername".

Did you mean: amiusername
2011 Nov 20
2
Foreman API, problem when creating hostgroups
...T /hostgroups" and all the other GET''s documented in the API, so I _think_ that my usage is correct... but I guess something must be wrong somewhere: > Failed to save: Name can''t be blank or contain trailing white spaces. I even tried with GET/POST (from LWP) GET http://apiusername:apiuserpassword@puppet.dev.somewhere.com/hostgroups?format=json works fine echo ''{"name":"api-created- hostgroup","architecture_id":"","medium_id":"","environment_id":"","operatingsystem_id":"&q...