Reference: Request
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:59:41Z

#

| Chapter 19 Win32 Modules and Extensions |

## Request

    $http->Request([path, method, version, referer, accept, flags])

    $http->Request(hashref)

Performs an HTTP request and returns an array containing the status code, the headers, and the content of the file. It is a one-step procedure that executes `OpenRequest`, `SendRequest`, `QueryInfo`, `ReadFile`, and finally `Close`. For a description of the parameters, see `OpenRequest`.

Reference: QueryInfo |  | Reference: SendRequest