do a HTTP GET request and return the answer as array.
Parameters:
Name
Type
Description
url
string
the URL to retrieve, must start with "http://".
head
Array.<string>
an array containing extra header fields and their values. Only fields defined in that array will be send with the request, no extra headers will be added.
do a HTTP GET request and return the answer as array.
Parameters:
Name
Type
Description
url
string
the URL to retrieve, must start with "http://".
head
Array.<string>
an array containing extra header fields and their values. Only fields defined in that array will be send with the request, no extra headers will be added.