# Reuse of Requests to avoid duplication

**URL:** <https://community.postman.com/t/reuse-of-requests-to-avoid-duplication/5840>\
**Category:** Help Hub\
**Created:** [June 10, 2019, 2:08pm UTC](https://community.postman.com/t/reuse-of-requests-to-avoid-duplication/5840 "2019-06-10T14:08:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdoyle1974](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jdoyle1974](https://community.postman.com/u/jdoyle1974)\
**Post date:** [June 10, 2019, 2:08pm UTC](https://community.postman.com/t/reuse-of-requests-to-avoid-duplication/5840/1 "2019-06-10T14:08:43Z")

</div>

Hi, My question is:

Is it possible to create a single repository of API Requests that I can then call into different workflows to avoid having to duplicate the Requests in each workflow ?. I’m aware i can use the setNextRequest function for wf building but that would still require duplication for a second workflow. Thanks

John

---

<div class="post-metadata">

**Author:** ![jetison](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jetison/32/12_2.png) [@jetison](https://community.postman.com/u/jetison)\
**Post date:** [June 10, 2019, 7:21pm UTC](https://community.postman.com/t/reuse-of-requests-to-avoid-duplication/5840/2 "2019-06-10T19:21:33Z")

</div>

Hi there @jdoyle1974 -

There’s [an existing feature request](https://github.com/postmanlabs/postman-app-support/issues/1535) for this. Feel free to chime in with your specific use case, if not already listed.

In the meantime, your question is similar to this broader one asked about re-using tests and requests. Perhaps you’ll find something useful in this thread.

> [@How to implement DRY / good coding practices?](https://community.postman.com/t/how-to-implement-dry-good-coding-practices/5500):
>
> Hi all, I have a lot of collections which are relatively similar, following this pattern. Send a POST request with a json body Send couple of GET requests and verify the results via tests Main difference between those collections is The json body of the post request The test (results) of the GET requests The endpoints of the POST/GET requests This results in a lot of duplication. Basically what I´m doing is to copy a collection, and modify the body and adapt the tests, which is resulting …

---

<div class="post-metadata">

**Author:** ![jetison](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jetison/32/12_2.png) [@jetison](https://community.postman.com/u/jetison)\
**Post date:** [June 10, 2019, 7:53pm UTC](https://community.postman.com/t/reuse-of-requests-to-avoid-duplication/5840/3 "2019-06-10T19:53:47Z")

</div>

Closed on June 10, 2019, 7:53pm UTC


