1

Actually I'm using Python to make REST calls from inside Vim.

Is it possible use only Vimscript to make REST calls?

5
  • 3
    Pretty sure the answer is "no". (Unless you count system() and :! as "only Vimscript".)
    – Rich
    Nov 30, 2017 at 13:52
  • 1
    For making REST calls, I have been using github.com/nicwest/QQ.vim (though the author moved to another plugin vim-http). Hope these plugins are useful, or are good as references to make REST calls inside Vim with a little help from Python scripts. ;)
    – Sunny Pun
    Nov 30, 2017 at 17:25
  • 1
    take a look at this webapi: github.com/mattn/webapi-vim
    – doraemon
    Dec 5, 2017 at 6:42
  • @LiuSha thanks. I think that was the answer that I was looking for. Can you put as an answer so I can accept?
    – adelarsq
    Dec 7, 2017 at 14:22
  • @adelarsq, sorry I missed the message. Will do it.
    – doraemon
    Aug 2, 2018 at 2:13

1 Answer 1

2

I recommend the use of vim extension webapi. The best way to install it is using any package manager and follow vimawesome.

The library contains various parser for different formats and is very easy to use with little configuration. Enjoy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.