http module to do requests with httpoison
do_requests and private functions