Skip to content
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

Use variable for payload #107

Open
ywangd opened this issue Sep 1, 2020 · 1 comment
Open

Use variable for payload #107

ywangd opened this issue Sep 1, 2020 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@ywangd
Copy link
Owner

ywangd commented Sep 1, 2020

This should work for both single and bulk requests

@ywangd ywangd added the enhancement New feature or request label Sep 1, 2020
@ywangd
Copy link
Owner Author

ywangd commented Sep 2, 2020

If variable is used directly at the payload position, this will make it impossible to write compact multiple statements, e.g. the following will not work:

GET /
echo

The above is currently possible because the function name, which is also a variable type, can syntatically signal the end of the API call. If echo can be parsed as the payload, this would likely to cause bugs when writing a script file.

@ywangd ywangd added the question Further information is requested label Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant