How can I do HTTP basic auth? In VS Code at least you can time the raw version with user and password separated by a space. It doesn't seem to work here
I am currently running 2017.3.2 build#: 173.4127.27. Can someone show me at least one example of how to use Basic auth in editor based REST client? I have tried every style as mentioned:
I assuming you are not exactly taking user and password and passing as is. The actual Basic Auth requires to be put in the format of user:password and then Base64 encoded and then passed the server. I want to make sure that this process is competed by the implementation. Passing plain user and password as they are entered is not going to work.
Hi there,
Have a look at this to start with: https://blog.jetbrains.com/phpstorm/2017/09/editor-based-rest-client/
I see, thanks! That is I can guess as far as editor-basing is rather new, full-fledged documentation is a bit behind the plugin itself, isn't it?
Quite likely.
My search for "rest" in PhpStorm/WebStorm help did not brought any results for this -- only for older RESTful Client (tool window based)
How can I do HTTP basic auth? In VS Code at least you can time the raw version with user and password separated by a space. It doesn't seem to work here
@Misak Boulatian
https://youtrack.jetbrains.com/issue/WEB-29865
It's implemented .. but only for next minor version (2017.3.1).
You can try EAP build if you wish: https://confluence.jetbrains.com/display/WI/WebStorm+EAP
I installed 2017.3.1.
I am trying to access like this:
@Misak Boulatian
Sorry, I have not checked build numbers properly.
It's not available in current EAP build (which is 173.3942) -- it must be 173.3976 or newer.
Wait for next EAP build (might be published tomorrow -- watch blog for updates) and try it there .
I am currently running 2017.3.2 build#: 173.4127.27. Can someone show me at least one example of how to use Basic auth in editor based REST client? I have tried every style as mentioned:
works fine for me in 2017.3.2:
I have tried again but still does not work.
I assuming you are not exactly taking user and password and passing as is. The actual Basic Auth requires to be put in the format of user:password and then Base64 encoded and then passed the server. I want to make sure that this process is competed by the implementation. Passing plain user and password as they are entered is not going to work.
Any input to my previous post?
Can someone reply to my Thursday post?
Rest client generates encoded value by provided protocol, username, and password and sends it to server