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

Variables cannot be used in the body of MultiHTTP requests #637

Open
peterschretlen opened this issue Feb 28, 2024 · 1 comment
Open

Variables cannot be used in the body of MultiHTTP requests #637

peterschretlen opened this issue Feb 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@peterschretlen
Copy link

The docs state:

It’s possible to use this anywhere where a string is expected, for example as the value of a header or the value of an assertion

So it is reasonable to expect that you'd be able to use the variable value in the body of a request. Say for example you have a variable $token with value abc from the previous request, you should be able to setup a POST request like this:

{
      "acceptance_token": "${token}"
}

And expect the body to be:

{
      "acceptance_token": "abc"
}

It appears we just copy the body as-is

@peterschretlen peterschretlen added the bug Something isn't working label Feb 28, 2024
@peterschretlen peterschretlen changed the title Variables cannot be used for the body of requests in MultiHTTP Variables cannot be used in the body of MultiHTTP requests Feb 28, 2024
@The-9880 The-9880 self-assigned this Feb 28, 2024
@pascal-arevalo
Copy link

Are there any updates on this? 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants