curl

Perform an http request and return stats about it.

Platform support

Please be aware that some queries can only be run against certain platforms. Below is a list of the supported platforms that this query supports. Zercurity will automatically pause queries from running if errors are detected. Running a query against an unsupported platform will result in the following error: no such table: curl

  • Windows
  • Linux
  • Mac OSX
  • Free BSD

Table schema

Name Type Description
url TEXT The url for the request
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

Query examples

select url, round_trip_time, response_code from curl where url = 'https://github.com/facebook/osquery'