# Share request across collections

**URL:** <https://community.postman.com/t/share-request-across-collections/25856>\
**Category:** Help Hub\
**Tags:** variables\
**Created:** [July 17, 2021, 5:38pm UTC](https://community.postman.com/t/share-request-across-collections/25856 "2021-07-17T17:38:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdepouwmc](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mdepouwmc](https://community.postman.com/u/mdepouwmc)\
**Post date:** [July 17, 2021, 5:38pm UTC](https://community.postman.com/t/share-request-across-collections/25856/1 "2021-07-17T17:38:44Z")

</div>

_My question_:  
How can I share a request across multiple collections so I don’t violate [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)?

_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](https://github.com/postmanlabs/postman-app-support/issues/1966)

---

<div class="post-metadata">

**Author:** ![taehoshino](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/taehoshino/32/6608_2.png) [@taehoshino](https://community.postman.com/u/taehoshino)\
**Post date:** [July 20, 2021, 7:44am UTC](https://community.postman.com/t/share-request-across-collections/25856/2 "2021-07-20T07:44:22Z")

</div>

Hey @mdepouwmc 👋

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](https://www.postman.com/speeding-resonance-133102/workspace/how-to-s-workspace/collection/12689164-2402ee57-a8b2-4480-a38f-5c643821c548)

Please let me know if this works for you 😉
