Created
November 4, 2019 17:40
-
-
Save howardabrams/d8c5ddcf076ec1dd08f96e66fdadd708 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#+NAME: foobar-contents | |
#+begin_src emacs-lisp | |
(with-temp-buffer | |
(insert-file "/tmp/foobar") | |
(buffer-string)) | |
#+end_src | |
#+RESULTS: foobar-contents | |
: Curabitur lacinia pulvinar nibh. Proin neque massa, cursus ut, gravida ut, lobortis eget, lacus. | |
: Donec at pede. Curabitur lacinia pulvinar nibh. Nam euismod tellus id erat. | |
Replace the "shell" below with "ob-http" | |
#+begin_src shell :var payload=foobar-contents | |
echo $payload | |
#+end_src | |
#+RESULTS: | |
| Curabitur lacinia pulvinar nibh. Proin neque massa | cursus ut | gravida ut | lobortis eget | lacus. Donec at pede. Curabitur lacinia pulvinar nibh. Nam euismod tellus id erat. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment