Closed pinggit closed 5 years ago
The basic option is -u username:password
. You have a few places to set this option.
rest
file, global section.g:vrc_curl_opts
but this will affect all your requests.You can check the executed curl command by let g:vrc_show_command = 1
.
There is a related bug just fixed in https://github.com/diepm/vim-rest-console/issues/60
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 .
It's already merged. You can reinstall or just go to vim-rest-console/
and do git pull
.
got it, it works! thanks.
in my setup I need to give curl a username and password to access those APIs. how to use this plugin in this context?