RE: Still can't MODIFY DOMAIN with new API

From: Colin Viebrock (colin@easydns.com)
Date: Thu Nov 02 2000 - 12:41:54 EST


> Sorry about not responding to your earlier post. I was out on vacation
> and it probably slipped between the cracks after I got back (there's
> always a tonne of email to go through after vacation).

No problem. Hope the vacation was good!

> I think the attributes set is missing the "data" key with value
> "contact_info". That should fix the "invalid command" reply you're
> getting. Was it missing from the API document?

Just goes to show ... I should learn to read before I try coding.
I did, in fact, leave out the "data" key. Thanks for brining my
stupidity to light. :)

On the other hand, perhaps the error message shouldn't be "invalid
command: modify" ... rather something like "invalid syntax: missing data".

> Also, I don't think OpenSRS can accept different updates to multiple
> contact types in a single request. If you're changing multiple contact
> types with the same info you would include the "also_apply_to" array,
> listing the other contact types to apply the changes to. See the
> example above.

Hmmm ... I'm not getting any errors, but you may be right. Thanks for
bring this up.

 
> I hope this helps. Let me know if you have any more problems.

Well, if you have a reading primer laying around ... :)

__________________________________________________________________
Colin Viebrock easyDNS Technologies
Co-Founder control your domain
                                            http://www.easyDNS.com



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:36:03 EDT