I am fairly new to laravel and php, i was trying to create a delete button for comments section in my web application, I always got delete method is not supported for this route error untill i go change url manually and going back, then it started to work, i had a problem with delete request for second time, i searched maybe 3 hours for that and tried almost everything, first time i just corrected it randomly i have no idea what i actually did, and the second time i solved it as i explained above, my question if there is something like cache issues that may be causing these errors, i always saw some cach word in between when researching but i could not find a guide to check if it is the issue
this means that you have a route, for example Route::get, or Route::post and you try to submit a DELETE request to it, and it won't work. To fix this, first, open web.php adjust your Route definition, then run php artisan route:clear, and that's it
Thank you, for this time i handled problems next time i will keep these in my mind, i used spoofing i think otherwise it gives an error like 409, this discussion forum is kinda crazy it is really helpful even sunday there are people helping others thank you guys :)