diepm / vim-rest-console

A REST console for Vim.
658 stars 54 forks source link

how to use this plugin when curl requires '-u' (username password) #59

Closed pinggit closed 5 years ago

pinggit commented 6 years ago

in my setup I need to give curl a username and password to access those APIs. how to use this plugin in this context?

diepm commented 6 years ago

The basic option is -u username:password. You have a few places to set this option.

You can check the executed curl command by let g:vrc_show_command = 1.

diepm commented 6 years ago

There is a related bug just fixed in https://github.com/diepm/vim-rest-console/issues/60

pinggit commented 6 years ago

this is great, how to get this fix to my local clone?

On Tue, Jun 5, 2018 at 10:25 PM, diepm notifications@github.com wrote:

There is a related bug just fixed in #60 https://github.com/diepm/vim-rest-console/issues/60

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/diepm/vim-rest-console/issues/59#issuecomment-394919481, or mute the thread https://github.com/notifications/unsubscribe-auth/AB8ZHEiYg9L15NnGjaRmBgEXTcmHvRDvks5t5z2fgaJpZM4UaJkV .

diepm commented 6 years ago

It's already merged. You can reinstall or just go to vim-rest-console/ and do git pull.

pinggit commented 6 years ago

got it, it works! thanks.