mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-08-02 21:16:12 -04:00
25 lines
788 B
PHP
25 lines
788 B
PHP
<?php
|
|
|
|
use Illuminate\Http\Request;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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!
|
|
|
|
|
*/
|
|
|
|
Route::prefix('setup')->group(function () {
|
|
|
|
});
|
|
|
|
Route::prefix('location')->group(function () {
|
|
Route::get('/country','API\LocationController@getCountry');
|
|
Route::get('/country/{id}/states','API\LocationController@getStateByCountry');
|
|
Route::get('/state/{id}/cities','API\LocationController@getCityByState');
|
|
}); |