ob-restclient.el
ob-restclient.el copied to clipboard
An org-mode extension to restclient.el
I need to write the output of an API call to a JSON file without the headers. Unfortunately, it doesn't seem like I can do this with ob-restclient. In particular,...
The default behavior (i.e. as happens with other Org Babel implementations) of `org-open-at-point` when it is executed in a code block is to show the results in a newly created...
For example, the results from this org-mode block: ```org * Get a list of my repositories #+NAME: github-repositories #+BEGIN_SRC restclient :var token=token GET https://api.github.com/user/repos?type=owner User-Agent: emacs27/restclient.el Authorization: Basic :token #+END_SRC...
Hello I am trying to remove quotes from: { "data": "some value but I do not need quotes" } Using the following: ``` #+NAME: get-token-without-quotes #+BEGIN_SRC restclient :results value verbatim...
This only happens the very first time I execute a restclient src block. All subsequent times work as expected. Additionally if I enable edebug or tracing on `org-babel-execute:restclient` it does...
When trying to use `C-c C-o` (org-open-at-point) it does not fill the `*Org Babel Results*` buffer. Only when using the setting `:results value` it does fill the buffer.
To reproduce, write an indented `src_block restclient`. Example: ```org * ob-restclient parent #+begin_src restclient GET http://example.com #+end_src #+begin_src python print("hello world") #+end_src - [ ] restclient block loses its syntax...