A better way to do requests http methods