Reputation: 87719
Is there a way to reproduce a Restful url in Laravel 4 passing variables to it to test in browser simulating a GET?
When I do this:
http://172.17.0.2/vevey/pagseguro/notification/notificationCode=713B60-785F465F4619-DAA4BD3F89D4-1E090D
I get this:
When it should be only
'notificationCode' => string (56) "713B60-785F465F4619-DAA4BD3F89D4-1E090D"
Upvotes: 0
Views: 179
Reputation: 4921
Why not using a route like this :
Route::get('.../notification/notificationCode/{code}', ...)->where('code', '[a-fA-F0-9\-]');
and grab the {code}
argument in your controller function ?
Upvotes: 2