1
API updatezone failure
Problem reported by Caleb - August 28 at 2:30 PM
Submitted
I'm experimenting with creating zones via the API using "updatezone".  I've generated a cURL sample, and the only response I'm ever able to get from the API is a 406.  The default example appears to be incorrect in that it says to us "-d" instead of "--data-raw" since the string begins with @.  It similarly doesn't work with -d and an RFC1035 formatted text file.  I've also tried this with a URLencoded data field in querystring format, even though it isn't recommended.  The only response is 406 every time.  I am not specifying a zonegroup as that's optional, nor a masterip since this is a primary zone.

Reply to Thread