Skip to content

bigfunctions > post

post

Signature

post(url, data, headers)

Description

POST data to url. response is a json formatted as {status_code, content}

Examples

Without headers

select bigfunctions.eu.post('https://httpbin.org/post', json '{"hello": "world"}', null)
select bigfunctions.us.post('https://httpbin.org/post', json '{"hello": "world"}', null)
select bigfunctions.europe_west1.post('https://httpbin.org/post', json '{"hello": "world"}', null)
+-----------------------------------------------+
| response                                      |
+-----------------------------------------------+
| {
  "content": {...},
  "status_code": 200
}
 |
+-----------------------------------------------+