735 B
735 B
markup, title, description, import
| markup | title | description | import | ||
|---|---|---|---|---|---|
| occlusion | lib/net — HTTP(S) | Minimal HTTP(S) client and URL encode |
|
main
| 返回 | 类型 | 说明 |
|---|---|---|
| result | any | None; execute this page's documented steps in order and observe their output or stated effects |
Import lib/net.mq.md. Functions: http_get, http_post, http_post_sse, openai_sse_parse, http_request, url_encode. HTTPS and optional headers= map are supported. Default post content-type is JSON. http_post_sse / openai_sse_parse return OpenAI chat stream event lists (delta / done).
We first e = [Compute e](net.url_encode(text="hello world")) for the next step.
We now [Display this step's result](> print text=e).