I seem to receive a Method Not Allowed
error when using the following cURL command:
curl -sv https://jwelford.co.uk/cart/add -X POST
However, when using post
instead of POST
, everything seems to work fine.
Route::post('/cart/add', function(Request $request){
return 'You hit /cart/add';
});