Bind imports to library names with bare path calls (and use), forward optional host args through mq wrappers, stabilize writeback replacement newlines, and document the M1/M2 decisions. Co-authored-by: Cursor <cursoragent@cursor.com>
370 B
370 B
title: lib/net — HTTP(S) description: Minimal HTTP(S) client and URL encode
lib/net.mq.md
main
Import lib/net.mq.md. Functions: http_get(url), http_post(url, body), http_request(method, url), url_encode(text). HTTPS and optional headers= map are supported. Default post content-type is JSON.
*e = > net.url_encode text=hello world *
print text=
e