performing http call instead of reading from file