API Reference › Http › Http.post
method

Http.post

Http.post(url, body) -> int

Starts an asynchronous POST with a string body, returning a request handle.

Example

program Demo {
  entry {
    let h = Http.post("https://example.com/score", "{\"score\":42}")
  }
}
← All symbols