lundi 25 juillet 2016

PHP Laravel RESTful api for android questions

I am new to Laravel and not quite sure how to move my PHP code to Laravel

currently, I have an android app that communicates with the server with android volley throught a url http://ift.tt/1ctW2qQ

android volley sends out some POST parameters ( example: userID, RestaurantId etc ) to the .php file

In the file it creates the correct .json structure from table(s) using PDO with prepared statements to connect to the db

then it returned a .json with json_encode()

how do I move this code to laravel?

do I really need an authorization/login page for this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire