zweifisch / ob-http

make http request within org-mode babel
GNU General Public License v3.0
256 stars 30 forks source link

org-babel-get-header is void #12

Closed ghost closed 8 years ago

ghost commented 8 years ago

In the most recent org version 8.3beta it seems like the org-babel-get-header has been replaced. I had to modify tho following defun:

(defun org-babel-expand-body:http (body params)
  (s-format body 'ob-http-aget
            (mapcar #'cdr (org-babel--get-vars params))))
zweifisch commented 8 years ago

Thanks for reporting!