Improve methods to request HTTP endpoints