Functions for making authorized HTTP request.