The response from the instamojo api is successfully extracted but the issue is that, the webhook service is not working. In this I've provided a webhook url in request and i want to exclude the CSRF verification, for that I've included Except array with 'instamojo/*'
in middleware but still no use.
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
'instamojo/*',
];
}
The current Route
Route::post('webhook','HomeController@webhook');
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2J2GQ7U
via IFTTT
Aucun commentaire:
Enregistrer un commentaire