Explorer

wasi.outgoing-request

description
HTTP request to send, like wasi:http/types.outgoing-request (method, absolute URL, headers, body bytes). secret_headers are headers whose value is prefix followed by the value of the secret: the host puts the value just before sending, only to the URLs the user allowed for the secret, so the program never sees it
type
Type
expression
Record{
  method: String,
  url: String,
  headers: List<Record{name: String, value: String}>,
  secret_headers: List<Record{name: String, prefix: String, secret: Secret}>,
  body: List<Number>
}
visibility
public
wasi.outgoing-request (project definy, branch snapshot-terms, snapshot ITPh_tTKphq4xOBcY4nA69GG9L2laow7SAtvVJWLQaQ)
id: CGReZWxah0RmNcUo5LvlqruKvQWQUAYcBmC6mow9guA
content hash: s83zE85F8kfI3kWe5NUcaOAYE47xrgQyetJ2T8jM1YY