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

Is it possible use only Vimscript to make REST calls?

  • 3
    Pretty sure the answer is "no". (Unless you count system() and :! as "only Vimscript".) – Rich Nov 30 '17 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 '17 at 17:25
  • 1
    take a look at this webapi: github.com/mattn/webapi-vim – doraemon Dec 5 '17 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 '17 at 14:22
  • @adelarsq, sorry I missed the message. Will do it. – doraemon Aug 2 '18 at 2:13

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, privacy policy and cookie policy

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