Function: verb--export-to-verb
verb--export-to-verb is a natively compiled function defined in
verb.el.
Signature
(verb--export-to-verb RS &optional OMIT-HEADING)
Documentation
Export a request spec RS to Verb format.
Return a new buffer with the export results inserted into it. If OMIT-HEADING is non-nil, do not insert an Org heading on the top.
Source Code
;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb.el
(defun verb--export-to-verb (rs &optional omit-heading)
"Export a request spec RS to Verb format.
Return a new buffer with the export results inserted into it.
If OMIT-HEADING is non-nil, do not insert an Org heading on the top."
(with-current-buffer (generate-new-buffer "*Exported HTTP Request*")
(verb--ensure-org-mode)
(verb--ensure-verb-mode)
(unless omit-heading
(insert (format "* Exported HTTP Request :%s:\n" verb-tag)))
(insert (verb-request-spec-to-string rs))
(switch-to-buffer-other-window (current-buffer))
(current-buffer)))