Download core/routes/api.php from pnacorp/codeplus: direct link, hf CLI and curl.
- Browser
- Download file 688 Bytes
-
https://huggingface.co/pnacorp/codeplus/resolve/main/core/routes/api.php
- Command line
-
hf download hf://pnacorp/codeplus/core/routes/api.php
-
curl -L -o api.php https://huggingface.co/pnacorp/codeplus/resolve/main/core/routes/api.php
688 Bytes
| 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::namespace('Api')->name('api.')->group(function () { | |
| Route::controller('InstallationController')->prefix('verify-purchase-code')->group(function () { | |
| Route::post('/', 'verifyPurchasedCode')->name('purchase.code.verify'); | |
| }); | |
| }); | |