Function: verb-restclient--build-request
verb-restclient--build-request is a natively compiled function defined
in verb-restclient.el.
Signature
(verb-restclient--build-request COMMENTS BODY)
Documentation
Build a request structure from COMMENTS and BODY strings.
Unsupported restclient.el features are prefixed with comments.
Source Code
;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb-restclient.el
(defun verb-restclient--build-request (comments body)
"Build a request structure from COMMENTS and BODY strings.
Unsupported restclient.el features are prefixed with comments."
(setq body (replace-regexp-in-string "^\\(:.+?:=.+\\)"
"# [Unsupported] \\1"
(string-trim body)))
(setq body (replace-regexp-in-string "^\\(->.+\\)"
"# [Unsupported] \\1"
body))
(make-verb-restclient--request :comments (string-trim comments) :body body))