diff options
-rw-r--r-- | mod/apitest/start.php | 2 | ||||
-rw-r--r-- | services/api/rest.php (renamed from endpoints/rest.php) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/mod/apitest/start.php b/mod/apitest/start.php index ded4d5d0d..947da115c 100644 --- a/mod/apitest/start.php +++ b/mod/apitest/start.php @@ -163,7 +163,7 @@ $endpoint = sanitise_string($endpoint); if ($endpoint=="") - $endpoint = $CONFIG->wwwroot . "endpoints/rest.php"; + $endpoint = $CONFIG->wwwroot . "services/api/rest.php"; $API_CLIENT->api_key = $apikey; $API_CLIENT->secret = $secret; diff --git a/endpoints/rest.php b/services/api/rest.php index 2944a24ff..2944a24ff 100644 --- a/endpoints/rest.php +++ b/services/api/rest.php |