fanatic / go-infoblox

Golang Infoblox WAPI Library (Deprecated)
16 stars 26 forks source link

option to create with body #1

Closed ctrlaltdel121 closed 9 years ago

ctrlaltdel121 commented 9 years ago

Added json body to create method for objects that have non-string fields. Infoblox has no support for url-encoded list/struct fields and those fields have to be specified in JSON (see https://ipam.illinois.edu/wapidoc/#general-syntax-and-options)

Also removed imports from record_host because they are not used so it wouldn't compile otherwise.