<div dir="auto">No worries! You may want your client to follow redirects, but choosing the FQDN is probably the right choice :)<div dir="auto"><br></div><div dir="auto">Cheers!</div><div dir="auto"><br></div><div dir="auto">Matthew Walster </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 Jun 2022, 21:50 Marshall Mahachi, <<a href="mailto:marshall.mahachi@megaport.com">marshall.mahachi@megaport.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Matthew</div><div><br></div><div>Yeah; that was it. </div><div><br></div><div>Was being redirected to "<a href="https://www.peeringdb.com:443/api/net/%7Bid%7D" target="_blank" rel="noreferrer">https://www.peeringdb.com:443/api/net/{id}</a>"</div><div><br></div><div>They wanted everything including the 'www'</div><div><br></div><div>Thanks</div><div><br></div><div>Marshall</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 14, 2022 at 7:25 PM Matthew Walster <<a href="mailto:matthew@walster.org" target="_blank" rel="noreferrer">matthew@walster.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Marshall,<div dir="auto"><br></div><div dir="auto">From the headers, can you tell where you are being redirected to?</div><div dir="auto"><br></div><div dir="auto">Matthew Walster</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 Jun 2022, 16:40 Marshall Mahachi, <<a href="mailto:marshall.mahachi@megaport.com" target="_blank" rel="noreferrer">marshall.mahachi@megaport.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi pdb-tech list<div><br></div><div>I am trying to update a Network ("net" type object) using the API : <span style="box-sizing:border-box;color:rgb(51,51,51);font-family:Roboto,sans-serif;font-size:14px"><a href="https://peeringdb.com/" rel="noreferrer noreferrer" target="_blank">https://peeringdb.com</a></span><span style="color:rgb(50,50,159);font-family:Roboto,sans-serif;font-size:14px">/api/net/{id}</span></div><div>and I am getting a 301 error message:</div><div><br></div><div><font face="monospace"><html><br><head><title>301 Moved Permanently</title></head><br><body><br><center><h1>301 Moved Permanently</h1></center><br></body><br></html></font></div><div><br></div><div>However, it seems to be working fine when on <b>beta</b> ---->> <span style="box-sizing:border-box;color:rgb(51,51,51);font-family:Roboto,sans-serif;font-size:14px"><a href="https://beta.peeringdb.com/" rel="noreferrer noreferrer" target="_blank">https://beta.peeringdb.com</a></span><span style="color:rgb(50,50,159);font-family:Roboto,sans-serif;font-size:14px">/api/net/{id} .. </span></div><div><br></div><div>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.</div><div><font face="Roboto, sans-serif" color="#000000"><span style="font-size:14px"><br></span></font></div><div><font face="Roboto, sans-serif" color="#000000"><span style="font-size:14px">Thanks</span></font></div><div><br></div><div>Best regards</div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><p style="color:rgb(102,102,102);font-size:12px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><strong>Marshall<span style="color:rgb(255,0,0)">Mahachi</span></strong><br><span style="color:rgb(204,204,204);font-size:11px"><em>Network Automation</em></span></p><p style="color:rgb(204,204,204);font-size:11px;line-height:20px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">Phone: +61 7 3062 7601<br><a href="http://www.linkedin.com/in/marshallmahachi" style="color:rgb(17,85,204)" rel="noreferrer noreferrer" target="_blank"><img src="https://www.megaport.com/email/connect.png" width="137" height="21" alt="Connect on LinkedIn"></a></p><p style="margin:10px 0px 0px;padding:0px;color:rgb(136,136,136);font-size:12px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><em>Your experience is our top priority. Let us know how we are doing: <a href="mailto:feedback@megaport.com" style="color:rgb(136,136,136)" rel="noreferrer noreferrer" target="_blank">feedback@megaport.com</a></em></p><p style="margin:10px 0px 0px;padding:0px;color:rgb(136,136,136);font-size:12px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><a href="https://www.megaport.com/" style="color:rgb(0,82,204)" rel="noreferrer noreferrer" target="_blank"><img src="https://www.megaport.com/email/Megaport-rocket.gif" width="135" height="32" alt="Visit Megaport.com" style="margin:0px;padding:0px;border:0px"></a></p><p style="margin:10px 0px 0px;padding:0px;color:rgb(136,136,136);font-size:12px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><br><img src="https://www.megaport.com/email/JAS-ANZ-27001-Grey.png" width="150" height="85" alt="ISO/IEC 27001 Certified" style="margin:0px;padding:0px;border:0px"><br><br><span style="color:rgb(153,153,153);font-size:10px;line-height:12px">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 <a href="https://www.megaport.com/legal/privacy-policy/" style="color:rgb(153,153,153);line-height:14px" rel="noreferrer noreferrer" target="_blank">Privacy Policy</a>. Megaport (Australia) Pty Ltd. Australia. (Company No. 164 521 519). Level 3, 825 Ann Street. Fortitude Valley QLD 4006.</span></p><p style="color:rgb(136,136,136);font-size:12px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"></p></div></div></div>
_______________________________________________<br>
Pdb-tech mailing list<br>
<a href="mailto:Pdb-tech@lists.peeringdb.com" rel="noreferrer noreferrer" target="_blank">Pdb-tech@lists.peeringdb.com</a><br>
<a href="https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech</a></blockquote></div></blockquote></div><div dir="ltr"><div dir="ltr"><p style="color:rgb(136,136,136);font-size:12px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"></p></div></div></div>
</blockquote></div>