Closed ci-90 closed 3 years ago
can you try https://api.xxxxx.com/say/hello/something
Thank you for your quick response. Unfortunately it leads to the same error.
Hi there! Unfortunatelly, I've the same issue :/ Impossible to make the 1st example -___-,
can you try https://api.xxxxx.com/say/hello?to=something
Didn't work. Apparently, there is a problem with some routes.php.
I've correctly installed with last version code, installed dependencies with 'composer install', etc.
BUT, good thing, at the end of the result, we can see my JSON result!
A deprecation warning is fine! just turn it off on php.ini or by adding
error_reporting(E_ERROR | E_PARSE);
to your index.php
Success! It worked! I've tried with one of my Classes, it works perfectly. Thank you so much! It will be very useful in my future work.
Hope the suggested solution works for @ci-90 as well! I will close the issue for now! Let us know if you still need help!
If i access https://api.xxxxx.com/say/hello I get the following error:
{ "error": { "code": 404, "message": "Not Found" }, "debug": { "source": "Routes.php:380 at route stage", "stages": { "success": [ "get" ], "failure": [ "route", "negotiate", "message" ] } } }
My httaccess contains
index.php contains
say.php contains
My index.php with the restler code is in the directory /var/www/html/api
Any idea what might be the issue? Please tell me if you need more information.