getResponseCode

Get the response-code of a call to a URL as an integer.

Return

The response.

Parameters

url

The URL you want to get the response from

Throws

if the URL could not be called or a communication error occurred.