
Bharath V - 2014-03-25 17:56:55
Hello,
I'm using this mturk php APIs for the first time but i keep getting an error as below:
Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to load from URL supplied' in example\lib\amt-rest-api\amt_rest_api.php on line 1481
I am just trying to connect my code to AWS. I have added both the keys to the keys file and added this to the index.php file:
amt\request::set_sandbox_mode();
foreach (new amt\hitlist as $hit) {
var_dump($hit);
}
Am i doing something wrong?
Please help, once i can do this then i can proceed with my actual project.
Thanks in advance.