1
In my project I need to release a url
for a service rest
I’m implementing, only I’m not getting to make the exception of token
for this route, since I will not receive you in the service.
In the Verifycsrftoken file, you already have the $except attribute for the route, but it’s not helping:
protected $except = [
'wallet/*'
];
This is how the routing is:
Route::post('wallet/apple/v1/devices/{device}/registrations/{registration}/{redNumber}', 'Service\AppleWalletController@register');
Keeps making the same mistake when I run the service:
local.ERROR: Exception 'Illuminate Session Tokenmismatchexception' in /var/www/dufryred.com.br/vendor/Laravel/framework/src/Illuminate/Foundation/Http/Middleware/Verifycsrftoken.php:46
Is there another way to make this exception from token
for my route, or I have to set up somewhere else?
Cade o seu
route
, the file that is configured the routes?– novic
Oops, beauty, I’ve already edited the question
– Isaias Lima
the problem is the route I find seeing so over, please try (I’m on mobile) `'Wallet/apple/v1/Devices/*' to see if it works?
– novic
No, it still doesn’t work either
– Isaias Lima