Current time: 09-16-2019, 04:51 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
runtest.php returning 301 Moved Permanently
08-05-2016, 11:57 PM
Post: #1
runtest.php returning 301 Moved Permanently
Hi,

I'm trying to run a test using the api but am getting a "310 Moved Permanently" response.

I'm using http://www.hurl.it to issue a GET against http://www.webpagetest.org/runtest.php
using my API key.

Thanks
Joe
Find all posts by this user
Quote this message in a reply
08-08-2016, 06:46 AM
Post: #2
RE: runtest.php returning 301 Moved Permanently
Try https instead of http (or you can hit http://api.webpagetest.org/ if you need http) or enable following of redirects on the API calls. The site moved to https with HSTS last week.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-08-2016, 05:58 PM
Post: #3
RE: runtest.php returning 301 Moved Permanently
(08-08-2016 06:46 AM)pmeenan Wrote:  Try https instead of http (or you can hit http://api.webpagetest.org/ if you need http) or enable following of redirects on the API calls. The site moved to https with HSTS last week.

Thanks Patrick, that sorted it
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)