using request instead of request-json