Use HttpClient to call getUserId API and get replay correctly.