You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's stay I have a GET request named /book/get_by_uuid to example.com/book/{{?UUID}}. In a different request in the same collection (but in a separate folder!), I'd like to call runRequest("/book/get_by_uuid") and extract some of the values for the body of the second request.
I've discovered that calling the request as described doesn't prompt for the variable at all, and /book/get_by_uuid is called with an empty string.
I could probably achieve a similar result by using bru.setVar('bookUuid', {{?UUID}}) in the Pre-Request Script section, but I'm not aware of a way to allow /book/get_by_uuid both use a variable like bookUuid and prompt for {{?UUID}}, besides maybe a script, which feels like extra work in the wrong direction.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Let's stay I have a GET request named
/book/get_by_uuidtoexample.com/book/{{?UUID}}. In a different request in the same collection (but in a separate folder!), I'd like to callrunRequest("/book/get_by_uuid")and extract some of the values for the body of the second request.I've discovered that calling the request as described doesn't prompt for the variable at all, and
/book/get_by_uuidis called with an empty string.I could probably achieve a similar result by using
bru.setVar('bookUuid', {{?UUID}})in the Pre-Request Script section, but I'm not aware of a way to allow/book/get_by_uuidboth use a variable likebookUuidand prompt for{{?UUID}}, besides maybe a script, which feels like extra work in the wrong direction.Beta Was this translation helpful? Give feedback.
All reactions