DRY: Just one method for http requests