Axios throws net::ERR_EMPTY_RESPONSE error when call API method I got net::ERR_EMPTY_RESPONSE whenever API get called. It is a XHR request error