I'm currently working on an android project. In this project, I pass data name, message, and email to the server through a simple PHP code. But now I want to pass these data to the server through Laravel, because the project is in Laravel.
Android data
String name = params[1];
String message = params[2];
String mail = params[3];
And pass this data to Laravel. Here is the code. The folder in which this file is present. Apps/Http/ . Now how we write the android code to pass this data to route easily.
Route::get('/message/{userid}','MapController@sendalert');
Route::post('/mymessage','MapController@myalert');
via Nasrullah Khan