I am encountering an issue while testing a Laravel POST API using Postman. Despite selecting the POST method in the dropdown menu in Postman, it appears that Postman is sending a GET request to the Laravel API. As a result, Laravel’s middleware is throwing an error indicating that the GET method is not supported.
Error Message:
Error: GET Method is not supported for this endpoint.