-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#521 Script Code Evaluation for variables #674
base: master
Are you sure you want to change the base?
Conversation
hi I wanted to ask, if you missed this pull requests? I want to use the extension, but I need another authentication mechanism. For this use case I need script execution. |
@AnWeber thanks for your PR, I have two questions:
|
1. |
Ooh, this would be super helpful for a lot of currently unsupported authentication workflows and general scripting involving the REST Client. Would it be possible to merge and release this PR as-is and maybe add support for multiline scripts as a later PR? |
Awesome; This feature would be helpful when output variables may requires some parsing/manipulation, before being handled by another request as an input. |
This also provides a solution for #345 |
using |
This would be super useful. Any idea if this will actually be merged? |
@jorelius I don't want to give you hope:-) Search for httpyac in marketplace. I made my own extension, which is mostly compatible. |
@AnWeber thats how I found about httpyac. When I first read this I thought ‚WTF - why did he create his own version?!‘ But looking into it, I fully understand why. Its great ❤️ Only can recommend everyone to check it out. |
Yeah, I have also converted over to httpyac. Httpyac also has built-in hooks for extending, user interaction apis for querying for inputs, etc. |
I was bothered by the fact that rest-client has no scripting capability and thus cannot be developed further without changes to the extension itself. And a fork was not useful in my eyes, because to support a plugin API and a cli without using vscode types, a rewrite is necessary. And I'm trying to keep the plugin APi alive. I don't know if after 4 years of support I can still motivate myself to invest time in it. I can understand Huachao, but I think it's a shame because his idea is pretty darn good. And I would have liked it, to integrate all the changes in this extension. |
@AnWeber httpyac is interesting but where is sources and issue tracker? |
@QuAzI Look at my account and the repos. I will add a link in the docs, but I did not want to move the sources to the organization. Maybe later. |
fixes #521
script code evalutation for variables. I tried to describe functionality in the readme.md. I hope a pull request is welcome.