PHP Classes

File: routes/api.php

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   PHP Inventory Management System with Scanner   routes/api.php   Download  
File: routes/api.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Inventory Management System with Scanner
Manage inventory stock using scanner application
Author: By
Last change: Update of routes/api.php
Date: 4 years ago
Size: 1,234 bytes
 

Contents

Class file image Download
<?php

use Illuminate\Http\Request;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

// Get all suppliers
Route::get('/apiGetAllSuppliers','Api\ApiDataAndroidController@apiGetAllSuppliers')->name('api.apiGetAllSuppliers');
// Get all customer
Route::get('/apiGetAllCustomer','Api\ApiDataAndroidController@apiGetAllCustomer')->name('api.apiGetAllCustomer');
// Store product-in
Route::post('/apiStoreProductIn','Api\ApiDataAndroidController@apiStoreProductIn')->name('api.apiStoreProductIn');
// Store product-out
Route::post('/apiStoreProductOut','Api\ApiDataAndroidController@apiStoreProductOut')->name('api.apiStoreProductOut');
// Store product
Route::post('/apiStoreProduct','Api\ApiDataAndroidController@apiStoreProduct')->name('api.apiStoreProduct');
// Get all categories
Route::get('/apiGetAllCategories','Api\ApiDataAndroidController@apiGetAllCategories')->name('api.apiGetAllCategories');