# Do we have the ability to create own separate method in Postman and call it in an another request?

**URL:** <https://community.postman.com/t/do-we-have-the-ability-to-create-own-separate-method-in-postman-and-call-it-in-an-another-request/10068>\
**Category:** Help Hub\
**Tags:** tests, collections\
**Created:** [January 14, 2020, 10:42am UTC](https://community.postman.com/t/do-we-have-the-ability-to-create-own-separate-method-in-postman-and-call-it-in-an-another-request/10068 "2020-01-14T10:42:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleksey\_Tishevich](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@Aleksey\_Tishevich](https://community.postman.com/u/Aleksey_Tishevich)\
**Post date:** [January 14, 2020, 10:42am UTC](https://community.postman.com/t/do-we-have-the-ability-to-create-own-separate-method-in-postman-and-call-it-in-an-another-request/10068/1 "2020-01-14T10:42:48Z")

</div>

Hello, I have two ordinary requests for login(each time a new login and password). I have to use it in each collection. It very difficult to support thus requests for login with big amount of collections. Do we have the ability to make requests for login as a separate method? The main idea that - I will change parametres for login requests in one place and changes will be used in all other places. Thank you in advance.

---

<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:** [January 15, 2020, 10:34pm UTC](https://community.postman.com/t/do-we-have-the-ability-to-create-own-separate-method-in-postman-and-call-it-in-an-another-request/10068/2 "2020-01-15T22:34:07Z")

</div>

Hi there @Aleksey_Tishevich -

If you’d like to change the login and password information in one place, and have the changes updated in all other places where this information is used, you can use [variables](https://learning.getpostman.com/docs/postman/variables-and-environments/variables/).

For example, if you have multiple collections where you use `login` and `password`, you can create an environment containing this login info, use the environment with multiple collections, and update this info in one spot.
