Closed anushaath closed 7 years ago
Is it ok if the server is running on PHP version 5.4 or 5.6? I see that the minimum requirement is v5.3
I got it working.
The edit and delete function are not working as expected. They dont update anything in the db nor delete anything from the db
I've changed the .htaccess file also to allow PUT and DELETE request. But still not able to make it work. Postman displays a 404 error.
I think my error is similar to this #93 But, I dont know how to define that verb. Mine is hosted on GoDaddy.
Dont really require the DELETE part in my project.
UPDATE: I changed the permissions on the .htaccess file to give access to PUT request. Now PUT request is working on Postman, while testing the API. And yet, if I edit a record on the ui.php, it does not reflect on the database.
I plan to look into this tonight
I can't reproduce this issue. Can you provide more details?
It seems to be working as of now. I think the problem was with the host as it was not allowing the PUT request for security reasons.
Hi I tested 'ui.php' and 'api.php' on localhost (XAMPP). Its working fine. Now I uploaded it on an actual web server. I tested the API with postman for the web, and its working perfectly. But when I load the 'ui.php' file, the screen is blank. Nothing is displayed. I double checked if the problem was with Sessions, which I was using, but that is also working fine. I'm not able to locate the where the problem seems to be occurring. Any ideas?