I am able to get response data in correct json format for each success call, but when I try without sending ids values in param to test 400 error it gives me 400 as http code, b