<?php

/**
 * API Routes
 *
 * This routes only will be available under AJAX requests. This is ideal to build APIs.
 */

// Route::group('api', function(){
//     Route::group('notif',function(){
//         // Route::get('send/{target?}/{id_room?}','Socket_send@notif_izin');
//         Route::get('send/{target?}/{id_room?}',function(){
//             echo json_encode(['msg' => 'Hello World!']);
//         });
//     });
    
// });
// Route::group('notif', function(){
//     // Route::get('send/{target?}/{id_room?}','Socket_send@notif_izin');
//     Route::get('send',function(){
//         echo json_encode(['msg' => 'Hello World!']);
//     });
// });

// Route::get('api/test', function () {
//     echo json_encode(['msg' => 'Hello World!']);
// });
