Algorithm · Atlassian · Medium
Given a collection of URLs, issue an HTTP GET for each one one at a time and produce a result for every attempted request. Requirements Input: an array of URL strings. Output: an array of results that preserves the input ordering. Every result contains: url: the URL supplied for that request status: the HTTP response status code (0, or another chosen error code, if the request fails; include failure details in error) body: the response content as text (an empty string is…
Checking your access…