Send arin-tech-discuss mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.arin.net/mailman/listinfo/arin-tech-discuss
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of arin-tech-discuss digest..."
Today's Topics:
1. Problem creating customer record using ARIN REST REG API
(Jarl Stefansson)
2. Re: Problem creating customer record using ARIN REST REG API
(David Huberman)
----------------------------------------------------------------------
Message: 1
Date: Sun, 23 Dec 2012 01:22:31 -0500
From: Jarl Stefansson <[email protected]>
To: [email protected]
Subject: [arin-tech-discuss] Problem creating customer record using
ARIN REST REG API
Message-ID:
<CAO1aV6CBOfmXs+GFBWPa+60CtYP0BJ1Lu5kgJh7EVzEEuE4A=g...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I'm building a python library to communicate with the ARIN REST REG API and
until I ran into the following issue everything has worked great.
I'm able to retrieve/modify Net and Customer objects without any issues
but when I try to create a new Customer I'm getting the following error,
I've consulted with the documentation and as far as I can see I'm following
it to the letter, perhaps someone here can assist, I've included the error
I receive from the API but with modified NET and API keys for
security/privacy reasons.
DEBUG:root:request() HTTP Response content b'
<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-192-168-0-0-1/customer of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234
</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-192-168-0-0-1/customer of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234
</u></p>
<p><b>description</b>
<u>
The requested resource (Could not find resource for relative :
/net/NET-192-168-0-0-1/customer of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234)
is not available.
</u>
</p>
<HR size="1" noshade="noshade">
<h3>JBoss Web/7.0.10.Final</h3>
</body>
</html>'
p.s. I will be releasing the library under GPL v.3 once finished.
--
Regards,
Jarl Stefansson
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.arin.net/pipermail/arin-tech-discuss/attachments/20121223/8a291f54/attachment-0001.html>
------------------------------
Message: 2
Date: Sun, 23 Dec 2012 15:08:40 +0000
From: David Huberman <[email protected]>
To: Jarl Stefansson <[email protected]>,
"[email protected]" <[email protected]>
Subject: Re: [arin-tech-discuss] Problem creating customer record
using ARIN REST REG API
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Hello Jarl,
If you privately send me the full URL you're using, with your real API key, and
the payload, I'll do my best to help you out today. I'll then report back to
the list when we figure something out :)
Regards,
David
________________________________
From: [email protected] [[email protected]]
on behalf of Jarl Stefansson [[email protected]]
Sent: Sunday, December 23, 2012 1:22 AM
To: [email protected]
Subject: [arin-tech-discuss] Problem creating customer record using ARIN REST
REG API
Hi,
I'm building a python library to communicate with the ARIN REST REG API and
until I ran into the following issue everything has worked great.
I'm able to retrieve/modify Net and Customer objects without any issues but
when I try to create a new Customer I'm getting the following error, I've
consulted with the documentation and as far as I can see I'm following it to
the letter, perhaps someone here can assist, I've included the error I receive
from the API but with modified NET and API keys for security/privacy reasons.
DEBUG:root:request() HTTP Response content b'
<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-192-168-0-0-1/customer of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234
</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-192-168-0-0-1/customer of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234</u></p>
<p><b>description</b>
<u>
The requested resource (Could not find resource for relative :
/net/NET-192-168-0-0-1/customer of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234)
is not available.
</u>
</p>
<HR size="1" noshade="noshade">
<h3>JBoss Web/7.0.10.Final</h3>
</body>
</html>'
p.s. I will be releasing the library under GPL v.3 once finished.
--
Regards,
Jarl Stefansson
[email protected]<mailto:[email protected]>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.arin.net/pipermail/arin-tech-discuss/attachments/20121223/ac14df35/attachment-0001.html>
------------------------------
_______________________________________________
arin-tech-discuss mailing list
[email protected]
http://lists.arin.net/mailman/listinfo/arin-tech-discuss
End of arin-tech-discuss Digest, Vol 23, Issue 1
************************************************