use request instead of http