Share request across collections

My question:
How can I share a request across multiple collections so I don’t violate DRY?

Details (like screenshots):
I have a login request that I don’t want to duplicate & put in every collection so that I can use the collection runner.

Releated: Running multiple collections in Collection Runner

Hey @mdepouwmc :wave:

One way to achieve this would be to call the login request using pm.sentRequest() and store that code snippet as a variable.

I have made an example here in my public workspace

Please let me know if this works for you :wink: