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}")
}
}Http.post(url, body) -> int
Starts an asynchronous POST with a string body, returning a request handle.
program Demo {
entry {
let h = Http.post("https://example.com/score", "{\"score\":42}")
}
}