First working prototype of POST request from JavaScript to Laravel Controller
This commit is contained in:
parent
420cd3ce63
commit
07ce7961c9
2 changed files with 23 additions and 58 deletions
|
|
@ -220,18 +220,14 @@ class LeaguesController extends Controller
|
|||
$input=$request->input();
|
||||
Log::info("Params:".sizeof($input));
|
||||
foreach ($input as $key => $value) {
|
||||
Log::inf( $key."=>".$value );
|
||||
Log::info( ">".$key."=>".$value );
|
||||
}
|
||||
|
||||
|
||||
Log::info($request->input('user1', 'not_set'));
|
||||
|
||||
//Log::info("Request-param:" . request('user1'));
|
||||
/*
|
||||
$user1_id=request('user1_id');
|
||||
$user2_id=request('user2_id');
|
||||
error_log("User1:".$user1_id);
|
||||
error_log("User2:".$user2_id);
|
||||
error_log()
|
||||
*/
|
||||
|
||||
|
||||
}
|
||||
|
||||
public static function showSingleUserMatches($userId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue