RESTful runtest call for private instance without key

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.compute.amazonaws.com/runtest.php?url=www.systemverification.com&f=xml&fvonly=1

…I get this response:

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

In the API documentation it says that for parameter k:

“optional (required for public instance)”

What have I missed?

BR Stefan
[hr]
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 :slight_smile: