# Using Variables Defined in Flows for Request

**URL:** <https://community.postman.com/t/using-variables-defined-in-flows-for-request/48024>\
**Category:** Help Hub\
**Tags:** postman-flows\
**Created:** [May 31, 2023, 9:04pm UTC](https://community.postman.com/t/using-variables-defined-in-flows-for-request/48024 "2023-05-31T21:04:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathan.raley](https://avatars.discourse-cdn.com/v4/letter/n/4da419/32.png) [@nathan.raley](https://community.postman.com/u/nathan.raley)\
**Post date:** [May 31, 2023, 9:04pm UTC](https://community.postman.com/t/using-variables-defined-in-flows-for-request/48024/1 "2023-05-31T21:04:42Z")

</div>

I am setting up a flow to test some API endpoints, and I am running into a problem consuming/setting the variable for the request.

Let’s say, I set up a data field with a value of [https://someserver.com](https://someserver.com). I then linked it to a set variable block that sets a variable named server. I defined my start entry point, where I perform a get variable on the server. I then add my send request pulling in a request from my collection. I can see the server variable listed in the send request box and I link the get variable server to the server variable in the send request.

In my request, I have the url set up as follows:  
https://{{server}}/api/AerosLogin/Authenticate

However, when I run the flow, the url that is getting hit isn’t adding anything in the {{server}}, which from what I understand should be getting set via the get variable and passed to the call. Am I doing this right?
