# Support for Dynamic URL Variables like {{targetUrl}} in Request Blocks

**URL:** <https://community.postman.com/t/support-for-dynamic-url-variables-like-targeturl-in-request-blocks/83119>\
**Category:** Help Hub\
**Tags:** tests, notebooks\
**Created:** [August 1, 2025, 12:46pm UTC](https://community.postman.com/t/support-for-dynamic-url-variables-like-targeturl-in-request-blocks/83119 "2025-08-01T12:46:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunar-module-geolog1](https://avatars.discourse-cdn.com/v4/letter/l/e495f1/32.png) [@lunar-module-geolog1](https://community.postman.com/u/lunar-module-geolog1)\
**Post date:** [August 1, 2025, 12:46pm UTC](https://community.postman.com/t/support-for-dynamic-url-variables-like-targeturl-in-request-blocks/83119/1 "2025-08-01T12:46:45Z")

</div>

While working on a Postman Notebook for the ongoing Notebook Challenge, I noticed that using dynamic variables like `{{targetUrl}}` in a **Request Block** doesn’t currently work as expected.

Specifically:

- The Notebook doesn’t recognize `{{targetUrl}}` when entered as a URL in a Request Block.
- Instead, it requires a request from a **public Postman collection** or a direct hardcoded API URL.
- This limits the flexibility of Notebooks, especially for educational use cases where users could input their own endpoint dynamically.

**It would be incredibly useful if Request Blocks could support `{{targetUrl}}`** , so users can test any endpoint they provide via Input Blocks, without needing to hardcode or use public collection requests.

Would love to see this feature considered or added to the roadmap , it would unlock a lot of powerful use cases for Notebooks

---

<div class="post-metadata">

**Author:** ![gbadebo-bello](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/gbadebo-bello/32/12175_2.png) [@gbadebo-bello](https://community.postman.com/u/gbadebo-bello)\
**Post date:** [August 15, 2025, 10:48am UTC](https://community.postman.com/t/support-for-dynamic-url-variables-like-targeturl-in-request-blocks/83119/2 "2025-08-15T10:48:38Z")

</div>

Hi @lunar-module-geolog1. This is great feedback.

The request block in a Notebook is tightly coupled with requests in a Public Collection as of today. We are looking at supporting a full standalone client sometimes in the future.
