[arin-tech-discuss] Problems creating recipient org?
Brian Rak
brak at gameservers.com
Wed May 29 15:38:31 EDT 2013
(Sorry about all the emails, I keep running into issues and there's very
little documentation outside of the API method lists)
I'm trying to create a recipient org, and I keep getting a 404 error
back. This is pretty confusing, as the PARENTNETHANDLE I'm using
definitely exists.
For example, I am sending the following request to https://reg.arin.net:
POST /rest/net/NET-64-237-32-0-1/org?apikey=API-AAAA-BBBB-CCCC-DDDD HTTP/1.1
Host: reg.arin.net
Accept: text/xml
Content-Type: text/xml
Content-Length: 344
<?xml version="1.0" encoding="UTF-8"?>
<org xmlns="http://www.arin.net/regrws/core/v1">
.....
</org>
and getting the following back:
< HTTP/1.1 404 Not Found
< Date: Wed, 29 May 2013 19:29:52 GMT
< Server: Apache-Coyote/1.1
< Content-Type: text/html;charset=utf-8
< Content-Length: 1541
< Set-Cookie: JSESSIONID=XXXXXXXX.jboss1; Path=/regcore
< Connection: close
<
* Closing connection #0
<html><head><title>JBoss Web/7.0.10.Final - Error
report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 404 - Could not find resource for relative
: /net/NET-64-237-32-0-1/org of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-64-237-32-0-1/org?apikey=API-AAAA-BBBB-CCCC-DDDD</h1><HR
size="1" noshade="noshade"><p><b>type</b> Status
report</p><p><b>message</b> <u>Could not find resource for relative :
/net/NET-64-237-32-0-1/org of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-64-237-32-0-1/org?apikey=API-AAAA-BBBB-CCCC-DDDD</u></p><p><b>description</b>
<u>The requested resource (Could not find resource for relative :
/net/NET-64-237-32-0-1/org of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-64-237-32-0-1/org?apikey=API-AAAA-BBBB-CCCC-DDDD)
is not available.</u></p><HR size="1" noshade="noshade"><h3>JBoss
Web/7.0.10.Final</h3></body></html>
The only information I've been able to find about this is someone using
PUT instead of POST. What am I missing here? Given that I'm getting a
404 back I'm thinking that I have the wrong URL. I can't seem to find
any other URL that I could possibly use though. The NET object I'm
using definitely exists:
http://whois.arin.net/rest/net/NET-64-237-32-0-1/pft , so that's not it
either.
More information about the arin-tech-discuss
mailing list