You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, I am trying to replicate the result of the following, but with ob-restclient:
I bumped into the same problem, it's caused by org-babel-restclient--raw-payload-p which is used when "file" exists in params, so it causes rest client to return raw output, and headers there are not commented, so :noheaders handling has no effect.
I solved it by redefining the function as follows:
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, I am trying to replicate the result of the following, but with ob-restclient:
I was hoping that the following would do the trick, however the headers are still getting printed to the file:
The text was updated successfully, but these errors were encountered: