get source using http connection