The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Login validation with Android App - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23) +--- Forum: UserSpice 4.4 (https://userspice.com/forums/forumdisplay.php?fid=27) +--- Thread: Login validation with Android App (/showthread.php?tid=1416) |
Login validation with Android App - daveyc - 04-01-2019 Hi guys, I'm new to userspice and have been building an IOT platform using the system. Its coming together well. I now need to allow login from an android app to the platform. At the moment, I'm just trying to send a validation message that the user and password are correct. I've tried using POST to send the data to the login form but I am not getting any response. When I try it in Postman, I get an error page with the message: "There was an error with your form. Please go back and try again. Please note that submitting the form by refreshing the page will cause an error." Am I going about this the wrong way? RE: Login validation with Android App - daveyc - 04-02-2019 I solved the problem. I just learned how the login.php file worked and made a second login file just for the smartphone app. Code: <?php RE: Login validation with Android App - mudmin - 04-02-2019 Is everything working properly? If you need help making that api, let me know. Sorry I wasn't on the forums yesterday. |