93

GitHub - alf/ob-restclient.el: An org-mode extension to restclient.el

 6 years ago
source link: https://github.com/alf/ob-restclient.el
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.org

ob-restclient.el

An extension to restclient.el for emacs that provides org-babel support.

To get started, install ob-restclient.el and add (restclient . t) to org-babel-load-languages:

(org-babel-do-load-languages
 'org-babel-load-languages
 '((restclient . t)))

You can then execute the query by pressing C-c C-c on the source-block header.

#+BEGIN_SRC restclient
  GET http://example.com
#+END_SRC

#+RESULTS:
#+BEGIN_SRC html
<!doctype html>
<html>
<head>
  ...
</head>
</html>
#+END_SRC

See restclient.el for documentation and examples of usage.

Author

Alf Lervåg


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK