MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - perform a request from a script

WebPagetest Forums

Full Version: perform a request from a script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using the RESTful API and I want to make an API call in order to authenticate before running my test, is it possible to execute that request using the script param? or do I have to navigate to a login screen?
You need to be on a page of some sort in the browser to initiate the API call. You don't necessarily have to navigate the login screen but you have to navigate to some page (probably on the same origin) then you can use the exec command to run javascript to make the API call.
Thanks, I'll use that
Reference URL's