PHP Classes

File: routes/api.php

Recommend this page to a friend!
  Classes of Naif Alshaye   Nova PHP Push Notifications   routes/api.php   Download  
File: routes/api.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Nova PHP Push Notifications
Laravel based Web app to send push notifications
Author: By
Last change:
Date: 3 years ago
Size: 639 bytes


Class file image Download

use Illuminate\Http\Request;

| Tool API Routes
| Here is where you may register API routes for your tool. These routes
| are loaded by the ServiceProvider of your tool. They are protected
| by your tool's "Authorize" middleware by default. Now, go build!

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

Route::post('/send', 'Naif\NovaPushNotification\Http\Controllers\PushNotificationController@send');