# Navigating to API Path Using http\_request

**URL:** <https://forum.dfinity.org/t/navigating-to-api-path-using-http-request/27241>\
**Category:** Developers\
**Created:** [February 3, 2024, 7:26am UTC](https://forum.dfinity.org/t/navigating-to-api-path-using-http-request/27241 "2024-02-03T07:26:58Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![princess\_eth](https://avatars.discourse-cdn.com/v4/letter/p/ce7236/32.png) [@princess\_eth](https://forum.dfinity.org/u/princess_eth)\
**Post date:** [February 7, 2024, 6:07am UTC](https://forum.dfinity.org/t/navigating-to-api-path-using-http-request/27241/12 "2024-02-07T06:07:24Z")

</div>

Thank you. My code was perfectly fine but I was passing in the wrong canister Id the entire time. I figured out that I should have done `[id].localhost:4943/stream` instead of `[canisterId].localhost:4933/stream`.

I realized that the id refers to the canister id and canisterId refers to the Candid UI id. I asked another question about that here: [What is the difference between canisterId and id?](https://forum.dfinity.org/t/what-is-the-difference-between-canisterid-and-id/27373).

Hopefully, this helps another developer!

---

_[View the full topic](https://forum.dfinity.org/t/navigating-to-api-path-using-http-request/27241)._
