Search code examples
lumen-5.2

Lumen Api, Android Post Response - Internal Server Error 500


My project has three part e.g. Lumen-5.8(API), Angular-8(web), Android(Mobile). The POST method is working in Angular but not working in Android.


Solution

  • You are developing API. So you need to care about request and response type.

    Ex. In Android, If you are expecting string response from API but your API send you integer then you will get 500 error.