Your script can send outbound HTTP requests using popular HTTP packages for your given language.

Send outbound HTTP requests

Currently only supported in our JavaScript and Python runtimes.

The execute code endpoint support outbound HTTP requests. By default, all HTTP requests are blocked. Allowed HTTP hosts must be specified in the API request.

Allowed host patterns

The allowed_http_host parameter supports two types of pattern matching.

  • * matches all hosts
  • *.example.com matches all subdomains of example.com, but not example.com itself