Add api response http code, remove useless function