Make http_request method public