No worries! You may want your client to follow redirects, but choosing the FQDN is probably the right choice :) Cheers! Matthew Walster On Tue, 14 Jun 2022, 21:50 Marshall Mahachi, <marshall.mahachi@megaport.com> wrote:
Hi Matthew
Yeah; that was it.
Was being redirected to "https://www.peeringdb.com:443/api/net/{id}"
They wanted everything including the 'www'
Thanks
Marshall
On Tue, Jun 14, 2022 at 7:25 PM Matthew Walster <matthew@walster.org> wrote:
Marshall,
From the headers, can you tell where you are being redirected to?
Matthew Walster
On Tue, 14 Jun 2022, 16:40 Marshall Mahachi, < marshall.mahachi@megaport.com> wrote:
Hi pdb-tech list
I am trying to update a Network ("net" type object) using the API : https://peeringdb.com/api/net/{id} and I am getting a 301 error message:
<html> <head><title>301 Moved Permanently</title></head> <body> <center><h1>301 Moved Permanently</h1></center> </body> </html>
However, it seems to be working fine when on *beta* ---->> https://beta.peeringdb.com/api/net/{id} ..
Has anyone run into this problem before ? or if anyone knows if it's a known issue that's being tracked and is to be released.
Thanks
Best regards
--
*MarshallMahachi* *Network Automation*
Phone: +61 7 3062 7601 [image: Connect on LinkedIn] <http://www.linkedin.com/in/marshallmahachi>
*Your experience is our top priority. Let us know how we are doing: feedback@megaport.com <feedback@megaport.com>*
[image: Visit Megaport.com] <https://www.megaport.com/>
[image: ISO/IEC 27001 Certified]
This message and the information in or attached to it, is intended for the named addressee only and may contain confidential information. If you are not the intended recipient, please delete it without retaining any copies and notify the sender. Note that all communications to and from Megaport may be stored and used in accordance with our Privacy Policy <https://www.megaport.com/legal/privacy-policy/>. Megaport (Australia) Pty Ltd. Australia. (Company No. 164 521 519). Level 3, 825 Ann Street. Fortitude Valley QLD 4006.
_______________________________________________ Pdb-tech mailing list Pdb-tech@lists.peeringdb.com https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech