The POST method is not supported for this route. Supported methods: GET, HEAD.
Currently I'm working on a attendance management system and the project is working properly when running locally but when trying to live my project using Hostinger then I'm facing the error as:
The POST method is not supported for this route. Supported methods: GET, HEAD.
And I've watched and read every article on the internet but couldn't help myself. Even though the project is working on my local system.
@srajiv9496 Well the error message clearly states you’re trying to do a POST request to a URI that is only expecting GET requests. So check the network tab in your browser console. It’s probably a HTTP-to-HTTPS redirect or something.
@maxxxir Thank you for your help and now the problem is solved.
But till date I donot know what was the issue as I rewrote those routes there wasn't any error.