Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commiting the route file which is web.php #2

Open
wants to merge 1 commit into
base: 1st_routes_controllers
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions routes/web.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It is a breeze. Simply tell Lumen the URIs it should respond to
| and give it the Closure to call when that URI is requested.
|
*/
namespace App\Http\Controllers;



$router ->post('message/{id}',function ($id){
return 'message '.$id;
});
//Route for class Incommingmessage
$router ->get('message/{id}','Incommingmessage@show');
$router->get('/audio-transcribe',['uses' => 'audiofileController@parseAudio']

);
?>