First working prototype of a http get request