[arin-tech-discuss] returned error message when I am trying to create an OrgHandle....
David Huberman
dhuberma at arin.net
Mon Feb 4 15:31:10 EST 2013
Hiya Sean Zhao,
Looks to me like the problem is your URL. It's /rest/org/ rather than
/rest/net/org/
Try that out and let us know if you continue to have errors.
Best,
David
---
David R Huberman
Principal Technical Analyst, ARIN
703-227-9866
On 2/4/13 3:25 PM, "Zhao, Sean" <Sean.Zhao at CenturyLink.com> wrote:
Hi,
I am trying to create and org handle vs RESTFul. But I
keep getting an error message, like this,
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><error
xmlns="http://www.arin.net/regrws/core/v1"><additionalInfo><message>Ensure
that the proper HTTP method has been used for this
request.</message></additionalInfo><code>E_BAD_REQUEST</code><components/><
message>No
resource method found for POST, return 405 with Allow
header</message></error>
Here is my payload.
<?xml version="1.0" encoding="UTF-8"?>
<org xmlns="http://www.arin.net/regrws/core/v1">
<iso3166-2>OH</iso3166-2>
<iso3166-1>
<code3>USA</code3>
<code2></code2>
<name></name>
<e164></e164>
</iso3166-1>
<streetAddress>
<line number="1">6000 Parkwood Pl</line>
</streetAddress>
<city>DUBLIN</city>
<postalCode>43016</postalCode>
<orgName>CENTURYLINK LIMS</orgName>
<pocLinks>
<pocLinkRef description="SEAN ZHAO" handle="KOTLO3-ARIN" function="AB"/>
<pocLinkRef description="SEAN ZHAO" handle="ZHAOS15-ARIN" function="AD"/>
<pocLinkRef description="SEAN ZHAO" handle="ZHAOS13-ARIN" function="N"/>
<pocLinkRef description="SEAN ZHAO" handle="ZHAOS14-ARIN" function="T"/>
</pocLinks>
</org>
The url I am using
https://www.arin.net/rest/net/org/?apikey=MyAPIKey
this url & payload worked before back to early of 2010. Am I missing any
updated things?
Thanks,
Sean Zhao
Sean.Zhao at CenturyLink.com
More information about the arin-tech-discuss
mailing list