federicotdn / verb

Organize and send HTTP requests from Emacs
https://melpa.org/#/verb
GNU General Public License v3.0
546 stars 20 forks source link

Embedding requests and responses in an org document #2

Closed DamienCassou closed 4 years ago

DamienCassou commented 4 years ago

Hi,

I've been using restclient for quite some time and your package seems a really nice improvement over it. I will try it. I especially like the fact that inner nodes inherit properties from their ancestors, making it easy to change the url or credentials.

Probably out of scope but still related: What I would really like is to have an org document with requests, answers and text describing both while keeping the inheritance of properties across nodes.

federicotdn commented 4 years ago

Thanks for the feedback!

In the future I might try switching from Outline to Org for this package. This should allow using Verb + all the Org utilities at the same time. Regarding the storage of responses, for this package I have decided not to have them included in the request files. Maybe it would be possible to store them on a separate file? E.g. if you had a twitter-api.verb file, then responses could be stored in a twitter-api.verb-store file, where each response would associated with a Header 1/SubHeader A/SubSubHeader X entry (linking back to the original verb file heading that did the request).

DamienCassou commented 4 years ago

Maybe it would be possible to store them on a separate file?

You could certainly do that but that wouldn't be useful for me. I'm looking for a document which contains some story, some requests and some answers. Maybe an ob-verb package could be useful.

DamienCassou commented 4 years ago

You may close this issue. Thank you for answering.

federicotdn commented 4 years ago

No problem. I'll look more into this when I get around to making Verb use Org instead of Outline. I also like your idea of integrating it with Babel.

federicotdn commented 4 years ago

Hey @DamienCassou, I decided to migrate Verb to use Org mode, and I ended up implementing Babel integration as well. Here's the doc for the new feature: https://github.com/federicotdn/verb#babel-integration

(the package will be updated on the next MELPA build)

taudep commented 4 years ago

Really cool. I look forward to checking this out....

On Thu, Jan 23, 2020 at 8:15 PM Federico Tedin notifications@github.com wrote:

Hey @DamienCassou https://github.com/DamienCassou, I decided to migrate Verb to use Org mode, and I ended up implementing Babel integration as well. Here's the doc for the new feature: https://github.com/federicotdn/verb#babel-integration

(the package will be updated on the next MELPA build)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/federicotdn/verb/issues/2?email_source=notifications&email_token=AADQE2AABPSUXVWJWAMHC7LQ7I6KPA5CNFSM4KGOJEZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJZNP5Y#issuecomment-577951735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADQE2EPMRI2DPV6LRSWLS3Q7I6KPANCNFSM4KGOJEZQ .