If you set Content-Type: application/json  and add POST params  When you submit request, POST params are ignored and empty data will be sent. I think you shouldn't ignore POST params in this case.