SyntaxFix
Write A Post
Hire A Developer
Questions
It may be more useful to use a http client library like such as this
There are more things like access denied , document moved etc to handle when dealing with http.
(though, it is unlikely in this case)