# Passing a public id that includes "/" sign

**URL:** <https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611>\
**Category:** Help Hub\
**Tags:** variables\
**Created:** [March 8, 2024, 2:02pm UTC](https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611 "2024-03-08T14:02:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![aviation-geoscienti7](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@aviation-geoscienti7](https://community.postman.com/u/aviation-geoscienti7)\
**Post date:** [March 8, 2024, 2:02pm UTC](https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611/1 "2024-03-08T14:02:38Z")

</div>

Hi,

I need to pass a test link that has a parameter which is combination of 2 parts seperated by “/” sign. here is an example.

I have a photo that has a public id of (myfoldername/publicIdOfPhoto) so if I pass the request in postman it gives not found as it will look at that as 2 seperate paths and not as one parameter to pass.

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [March 10, 2024, 3:30pm UTC](https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611/2 "2024-03-10T15:30:28Z")

</div>

Try an escape character

myfoldername\/publicIdOfPhoto

---

<div class="post-metadata">

**Author:** ![aviation-geoscienti7](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@aviation-geoscienti7](https://community.postman.com/u/aviation-geoscienti7)\
**Post date:** [March 10, 2024, 10:32pm UTC](https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611/3 "2024-03-10T22:32:23Z")

</div>

I trued what you suggested but still not working

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [March 11, 2024, 10:41am UTC](https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611/4 "2024-03-11T10:41:19Z")

</div>

Can you provide some screenshots of your request.

Usually forward slashes in an URL are paths.

---

<div class="post-metadata">

**Author:** ![aviation-geoscienti7](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@aviation-geoscienti7](https://community.postman.com/u/aviation-geoscienti7)\
**Post date:** [March 13, 2024, 5:24pm UTC](https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611/5 "2024-03-13T17:24:48Z")

</div>

![image](https://us1.discourse-cdn.com/getpostman/original/3X/b/6/b65ed2053c5717b8abbb117e634e691b6bee4807.png)

where is public id is “test/Rateel\_new\_photo\_ufj5u7.jpg”

---

<div class="post-metadata">

**Author:** ![aviation-geoscienti7](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@aviation-geoscienti7](https://community.postman.com/u/aviation-geoscienti7)\
**Post date:** [March 13, 2024, 9:22pm UTC](https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611/6 "2024-03-13T21:22:55Z")

</div>

![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/8/58cdcbc26a1411a23f569e0205ad99bf3f7f20f1.png)

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [March 14, 2024, 12:12pm UTC](https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611/7 "2024-03-14T12:12:39Z")

</div>

In your first screenshot, you have the URL hardcoded and its using paths.

But in your second screenshot, you have parameterized the value in a header.

This should be a path variable under the params tab.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/a/4ae316cd405e6f668537067dd8f53bcc73ceaab9.png)

Always check the console log to see what is actually being sent.

![image](https://us1.discourse-cdn.com/getpostman/original/3X/7/6/76d5860880bcdd243cb9ed3db0b890c06cfbc62b.png)

This obviously fails for me, but you can see that the path is correct as per your example.

---

<div class="post-metadata">

**Author:** ![aviation-geoscienti7](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@aviation-geoscienti7](https://community.postman.com/u/aviation-geoscienti7)\
**Post date:** [March 14, 2024, 3:51pm UTC](https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611/8 "2024-03-14T15:51:00Z")

</div>

now it is ok thanks

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/0/2/022682e5edd1295c44626b3d103d7ab6e7fce9a8.png)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [March 17, 2024, 3:51pm UTC](https://community.postman.com/t/passing-a-public-id-that-includes-sign/58611/9 "2024-03-17T15:51:40Z")

</div>

Closed on March 17, 2024, 3:51pm UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
