Perform an http request and return stats about it.
Column | Type | Description |
---|---|---|
url | text | The url for the request Required in WHERE clause |
method | text | The HTTP method for the request |
user_agent | text | The user-agent string to use for the request |
response_code | integer | The HTTP status code for the response |
round_trip_time | bigint | Time taken to complete the request |
bytes | bigint | Number of bytes in the response |
result | text | The HTTP response body |
Connect over HTTP and retrieve statistics about the process. This is useful to detect machines on slow networks, or that have no Internet access.
SELECT round_trip_time FROM curl WHERE URL='https://fleetdm.com';