GET

Fetches the contents of a URL.

Syntax

GET(urlAddress, [username], [password], [httpHeaders], [includeHttpDetails])
  • urlAddress - The URL to fetch.

  • [username] - Username for Basic Auth. If no password is provided will be used as a token for Bearer authorization type.

  • [password] - Password for Basic Auth.

  • [httpHeaders] - A frame with HTTP headers to send (first/second column are used for HTTP header name and value).

  • [includeHttpDetails] - If TRUE, result frame contains not only data, but also response info. Default is FALSE.

Sample Usage

GET(B1)
GET("https://api.opencagedata.com/geocode/v1/json?key=YOUR-API-KEY&q=Frauenplan+1%2C+99423+Weimar%2C+Germany&pretty=1")

Return Value

  • Returns the parsed URL contents as a frame.

Notes

See Also

Last updated

Was this helpful?