POST api request are redirected to GET request

June 13, 2018 62 views
Apache API LAMP Stack Ubuntu 16.04
AlexJohn
By:
AlexJohn

I have recently moved my laravel project from a shared hosting to DO. But unfortunately the API'S stoped working.
All POST apis are getting redirected/converted to GET request result in server error or methord exception.

All the api's were tested and are working fine. This stared when we have migrated to DO.

Can anyone please tell me what could be the issue.

Framework : Laravel 5.6

Be the first one to answer this question.