Files
marqdo/public/stdlib/net.mq.md
T
cflmyandCursor 6db3da1cc0 fix(public): quote italic call-arg string literals for pages CI
Bare identifiers inside *…* are variables; quote text args (and var="x")
so marqdo run on public/*.mq.md succeeds. Narrow pages.yml exclude to
utils.mq.md and 工具.mq.md instead of overly broad ??.mq.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-28 11:59:10 +08:00

473 B


title: lib/net — HTTP(S) description: Minimal HTTP(S) client and URL encode import net:lib/net.mq.md

main

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).

e = > net.url_encode text="hello world"

print text=e