changed routes to do both curl and guzzle and output to file for inspection