Step 1: create dropdown div block in blade file
Step 2: write jQuery key up and change function
Step 3:pass URL in ajax function for client side microservice
step 4: set routing
$tourcontroller = $namespace.’\TourDetailController’;
Route::get(‘toursdetail/{email}’,”$tourcontroller@gettrip”);
Step 5: write function in client side controller
Step 6: set env and app.php to connect between client and serverside for microservice
GET_MYHOLIDAYTRIP_URL=/api/v1/j/gettripdetail
Step 7: Set routing server side
Route::get(‘gettripdetail/{email}’, ‘Admin\AdminTPController@tripdetail’);
Step 8: create function in server side controller
now run finally project
Latest posts by Rakesh K (see all)
- Laravel Error:Integrity constraint violation - May 22, 2021
- Call to a member function createtoken() on null - May 14, 2021
- How to Store Multiple Records using Checkbox in Laravel? - May 12, 2021