Function: verb-stored-response

verb-stored-response is a natively compiled function defined in verb.el.

Signature

(verb-stored-response KEY)

Documentation

Return stored HTTP response under KEY.

To automatically store HTTP responses, set the request heading's
"Verb-Store" property to a nonempty value. The response will then
be stored under that value. For example:

* Example :verb:
:properties:
:Verb-Store: storage-key-here
:end:
get https://gnu.org/test

Source Code

;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb.el
(defun verb-stored-response (key)
  "Return stored HTTP response under KEY.

To automatically store HTTP responses, set the request heading's
\"Verb-Store\" property to a nonempty value.  The response will then
be stored under that value. For example:

* Example          :verb:
:properties:
:Verb-Store: storage-key-here
:end:
get https://gnu.org/test"
  (if-let ((resp (assoc-string key verb--stored-responses)))
      (cdr resp)
    (user-error (concat "No response stored under key \"%s\"\n"
                        "Make sure you've set the \"Verb-Store\""
                        " heading property and sent the request at least once")
                key)))