Import with #import "std/net_http_linux".
PostJson :: (url: string, body: string, output: []u8) -> CaptureResultNative HTTPS JSON transport. curl owns TLS and HTTP framing; Ziran owns the request arguments and caller-provided response buffer.
Modules / Standard library
Import with #import "std/net_http_linux".
PostJson :: (url: string, body: string, output: []u8) -> CaptureResultNative HTTPS JSON transport. curl owns TLS and HTTP framing; Ziran owns the request arguments and caller-provided response buffer.