Current time: 08-06-2020, 12:21 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to determine valid locations for the REST api?
04-12-2015, 09:15 PM
Post: #4
RE: How to determine valid locations for the REST api?
I think the first one that fails for you is due to the location being incorrect

Code:
http://www.webpagetest.org/runtest.php?priority=6&runs=2&mv=1&video=0&location=Dulles_Chrome.Cable&f=xml&url=http%3A%2F%2Fwww.my-site.org%2F&fvonly=1&k=XXXXXXXXXXXXX&private=1

The location should be: Dulles:Chrome.Cable - note the colon not underscore between location and browser

Dulles_iOS works as a location for me…

This request:

Code:
http://www.webpagetest.org/runtest.php?f=json&url=http://www.bbc.co.uk/news/&k=api-key&location=Dulles_iOS

Gives this response:

Code:
{
  "statusCode": 200,
  "statusText": "Ok",
  "data": {
  "testId": "150412_M6_F3F",
  "ownerKey": "xxxxxx",
  "jsonUrl": "http:\/\/www.webpagetest.org\/jsonResult.php?test=150412_M6_F3F",
  "xmlUrl": "http:\/\/www.webpagetest.org\/xmlResult\/150412_M6_F3F\/",
  "userUrl": "http:\/\/www.webpagetest.org\/result\/150412_M6_F3F\/",
  "summaryCSV": "http:\/\/www.webpagetest.org\/result\/150412_M6_F3F\/page_data.csv",
  "detailCSV": "http:\/\/www.webpagetest.org\/result\/150412_M6_F3F\/requests.csv"
  }
}

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to determine valid locations for the REST api? - andydavies - 04-12-2015 09:15 PM

Forum Jump:


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