From 051c7f060f446c76e2151647eeee0ca8bf655f0c Mon Sep 17 00:00:00 2001 From: Arctic Code Date: Fri, 26 Jul 2013 23:35:47 -0500 Subject: [PATCH] Test reset API key - Successful --- api.test.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api.test.php b/api.test.php index fa2b9c9..936d79a 100644 --- a/api.test.php +++ b/api.test.php @@ -13,6 +13,8 @@ $unpsAPI = new api(); //echo $unpsAPI->upImage($apidb, '580658027', $imgdb, 'dc0de', 'This is a test', 'test', 0, imgdata); // Upload image //echo $unpsAPI->regUser($apidb, '580658027', $udb, 'David', 'password123', 'tehfoxy.c0de@gmail.com'); // Register users -echo $unpsAPI->regAPI($apidb, '580658027', 'UnPS-GAMA Link Shortener', 'tehfoxy.c0de@gmail.com', '1,0,0,0'); // Register API user +//echo $unpsAPI->regAPI($apidb, '580658027', 'UnPS-GAMA Link Shortener', 'tehfoxy.c0de@gmail.com', '1,0,0,0'); // Register API user + +echo $unpsAPI->resetAPI($apidb, '580658027', 'UnPS-GAMA Link Shortener', 'tehfoxy.c0de@gmail.com', '279qit9'); ?> \ No newline at end of file