[PDB-tech] Link network to facility via API

Arnold Nipper arnold.nipper at de-cix.net
Tue Apr 26 15:46:01 PDT 2016


On 27.04.2016 00:09, Rob Hagens wrote:
> Well, I tried the first example in the documentation:
> 
> [rhagens at tools peers]$ wget --no-check-certificate
> https://peeringdb.com/api/network/42.json
> --2016-04-26 22:06:22--  https://peeringdb.com/api/network/42.json
> Resolving peeringdb.com... 204.130.133.156, 2620:8b:0:144c::156
> Connecting to peeringdb.com
> <http://peeringdb.com>|204.130.133.156|:443... connected.
> WARNING: cannot verify peeringdb.com <http://peeringdb.com>'s
> certificate, issued by `/C=GB/ST=Greater Manchester/L=Salford/O=COMODO
> CA Limited/CN=COMODO RSA Domain Validation Secure Server CA':
>   Unable to locally verify the issuer's authority.
> WARNING: certificate common name `*.peeringdb.com
> <http://peeringdb.com>' doesn't match requested host name `peeringdb.com
> <http://peeringdb.com>'.
> HTTP request sent, awaiting response... 404 NOT FOUND
> 2016-04-26 22:06:22 ERROR 404: NOT FOUND.
> 
> and it didn't work. I also tried wget --no-check-certificate
> https://peeringdb.com/api/network/6461.json and it also received a 404.
> 
> Some basic working examples would be helpful...
> 

The objects are

 org
 net
 ix
 fac

so try e.g. https://peeringdb.com/api/net/6461.json


Best, Arnold
-- 
Arnold Nipper
Chief Technology Evangelist and Co-Founder

DE-CIX Management GmbH | Lindleystrasse 12 | 60314 Frankfurt am Main |
Germany | www.de-cix.net | Phone +49 69 1730902 22 |
Mobile +49 172 2650958 | Fax +49 69 4056 2716 |
arnold.nipper at de-cix.net | Geschaeftsfuehrer Harald A. Summa |
Registergericht AG Koeln HRB 51135

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.peeringdb.com/pipermail/pdb-tech/attachments/20160427/8a02aeee/attachment.sig>


More information about the Pdb-tech mailing list