I am currently working on a small web application to gain some experience. Everything is going pretty well and i am in the process of testing some features. The app has a page with an HTML form where someone can type a PIN number and that will query a database for an item. That item will then be displayed in another page.(let's call that the "display page")
Now obviously i am using a POST route to use the PIN input and get the item.
Today as i was doing some tests a friend came over and tried to access the "display page" by just typing the url in the browser(/items/display). All i got was an error from Laravel that literally said "No message".
I do get that he tried to make a GET request when my route is POST but i have no idea what to do in order to deal with this. It isn't that important but i see it as a learning opportunity.
Any insight is appreciated. Thanks in advance!