Skip to main content

Request.get

Request.geturlheaders

Documentation

Create a Get request.

Arguments

  • url: The address for the request.
  • headers: A vector containing headers for the request.

Examples

Create a new get request.

      import Standard.Base.Network.HTTP.Request.Request
import Standard.Base.Network.URI.URI

example_get = Request.get (URI.parse "http://example.com")