Simplified http:get function