## Syntax
```mermaid
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> HTTPGET[HTTPGET]:::quoted
HTTPGET --> End((END))
```
## Purpose
The `HTTPGET` SQL function retrieves the HTTP response on a GET from a URL as a BLOB (`blob`).
The URL must be accessible. Use the `NativePlatformScalarRequest` view on cloud applications to directly access their APIs with credentials and rate limiters.
See also [[HTTPGET_TEXT]] and [[HTTPPOST]].
Parameters:
- URL (`varchar2`): the URL to GET the data from.
Returns: the HTTP response data as a `blob`.
## Examples
The following example retrieves the BLOB from the HTTP response on `https://cloud.invantive.com`:
```sql
select to_hex(httpget('https://cloud.invantive.com'))
----------------
3C21444F43545950452068746D6C3E0D0A3C68746D6C206C616E673D226...
```