Please ignore my last post. I got it.

Thanks,

Dave

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Dave Baerg
Sent: Tuesday, May 29, 2001 10:17 AM
To: OpenSRS-dev
Subject: No Get Domain?


I am using the OpenSRS 2.3.3 Protocol Guide. It indicates I can get the
information for the domain associated with a domain with the 'get' action of
the 'domain' object. Here is the example from the doc itself:
{
  protocol => "XCP",
  action => "get",
  object => "domain",
  cookie => "211231231.1231312",
  registrant_ip => "111.121.121.121",
  attributes => {
  type => "owner"
}

Here is what I send (formatted differently...):

(
    [action] => get
    [object] => domain
    [cookie] => 123456789:1234567
    [attributes] => Array
        (
            [type] => all info
            [page] => 0
            [max_to_expiry] =>
            [min_to_expiry] =>
        )

    [registrant_ip] => 123.123.123.123
    [protocol] => XCP
)

This is the response:

(
    [is_success] => 0
    [protocol] => XCP
    [_OPS_msg_type] => standard
    [object] => GET
    [_OPS_msg_id] => 450.183247906893
    [response_text] => Invalid Command: get
    [response_code] => 400
    [action] => REPLY
    [_OPS_version] => 0.9
)

Any help is greatly appreciated.

Cheers,

Dave


Reply via email to