无法从ajax中获得数据。这是我正在使用的所有文件的代码
<input type="date" min="" class="form-control" id="checkoutdate" name="checkoutdate" onchange="checkdate()" required>
and my if part is working fine
------- Custom.js------------- Where I wrote my own javascript
我正在尝试使用Postman向Laravel项目发送post请求,但是我得到了"419未知状态“的响应
routes\web.php:
Route::post('/myaction', 'MymodelController@myaction');
app\Http\Controllers\MymodelController.php:
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Mymodel;
class MymodelController