on how to make a Todo backend and frontend: https://www.youtube.com/playlist?list=PLEhEHUEU3x5q-xB1On4CsLPts0-rZ9oos
I am at the point where I create the API using Laravel (Part 5). GET requests work well, but POST requests do not work..I am getting a 403 Forbidden response on Postman
I have attached the screenshots for the model, controller, and route.
Any ideas what the issue could be? Thanks.
Check your storeToRequest class for any authorization code checks
Thanks I changed it from false to true and it worked
Обсуждают сегодня