WebPagetest Forums

Full Version: RESTful runtest call for private instance without key
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

I have set up a server and an agent in AWS. It works fine with "manual execution" but when I try to use the RESTful API with the following URL:

http://ec2-35-159-44-181.eu-central-1.co...l&fvonly=1

...I get this response:

<?xml version="1.0" encoding="UTF-8"?>
<response>
<statusCode>400</statusCode>
<statusText>An error occurred processing your request (missing API key).</statusText>
</response>

In the API documentation it says that for parameter k:

"optional (required for public instance)"

What have I missed?

BR Stefan

I found a key in the server at /var/www/webpagetest/www/settings/keys.ini. When using this in the for the k parameter it works Smile
Reference URL's