KUJUNTI.ID MINISH3LL
Path : /var/www/html/jewelry-pos/routes/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/jewelry-pos/routes/api.php


<?php

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;

use App\Http\Controllers\ApiController;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider and all of them will
| be assigned to the "api" middleware group. Make something great!
|
*/

Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
    return $request->user();
});


Route::get('/product/search', [ApiController::class, 'search'])->name('search');
Route::get('/product/modify', [ApiController::class, 'modify'])->name('modify');
Route::post('/product/store', [ApiController::class, 'store'])->name('sell.store');
Route::post('/product/update-image', [ApiController::class, 'updateImage'])->name('product.update-image');
Route::get('/sale/scan', [ApiController::class, 'scan'])->name('scan');
Route::get('/search-diamond', [ApiController::class , 'searchDiamond'])->name('search-diamond');
Route::get('/sale-chart' , [ApiController::class , 'saleChart'])->name('sale-chart');

Route::put('/product_category/update/{id}');

© KUJUNTI.ID