Are you sure that the routes are defined as "Route::post" ? in your web.php
Laravel deployed on DigitalOcean App Platform converts POST request into GET request
Hi guys, I've deployed a Laravel project on Digital Ocean App Platform (not droplet) and for some reason my POST requests are converted into GET requests. Of course everytime I make a POST request I get an 405 method not allow. The app works fine on local environment. Any idea what could cause this method conversion of the POST request?
Thanks in advance and sorry if I didn't provide enough context.
100% positive. It's solved now. I didn't explicitly specify HTTPS as protocol for the request URL and I got a 302 status code. When sending POST requests as HTTP and not HTTPS, the 302 redirect converts the POST to a GET.
Please or to participate in this conversation.