Meta pixel
search

A menu icon Tables {{numberOfTablesDisplayed}}

right chevron down chevron

Tables{{numberOfTablesDisplayed}}

macOS logo Windows logo Linux logo macOS logo

curl

Perform an http request and return stats about it.

Column Type Description
bytes bigint Number of bytes in the response
method text The HTTP method for the request
response_code integer The HTTP status code for the response
result text The HTTP response body
round_trip_time bigint Time taken to complete the request
url text The url for the request
Required in WHERE clause
user_agent text The user-agent string to use for the request

Example

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';