PHP Classes

File: routes/api.php

Recommend this page to a friend!
  Packages of Naif Alshaye   PHP World Clock   routes/api.php   Download  
File: routes/api.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP World Clock
Display the time in different time zones
Author: By
Last change: auto reload component every sec & added night/daylight icons
Date: 7 months ago
Size: 685 bytes
 

Contents

Class file image Download
<?php

use Illuminate\Http\Request;
use
Illuminate\Support\Facades\Route;
use
Naif\WorldClock\Http\Controllers\ClockController;

/*
|--------------------------------------------------------------------------
| Card API Routes
|--------------------------------------------------------------------------
|
| Here is where you may register API routes for your card. These routes
| are loaded by the ServiceProvider of your card. You're free to add
| as many additional routes to this file as your card may require.
|
*/

// Route::get('/endpoint', function (Request $request) {
// //
// });

Route::post('/get_times', 'Naif\WorldClock\Http\Controllers\WorldClockController@getTimes');