# How do some canisters handle http requests

**URL:** <https://forum.dfinity.org/t/how-do-some-canisters-handle-http-requests/9986>\
**Category:** Developers\
**Created:** [December 29, 2021, 9:44am UTC](https://forum.dfinity.org/t/how-do-some-canisters-handle-http-requests/9986 "2021-12-29T09:44:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![heyuanxun](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/heyuanxun/32/4695_2.png) [@heyuanxun](https://forum.dfinity.org/u/heyuanxun)\
**Post date:** [January 24, 2022, 9:04am UTC](https://forum.dfinity.org/t/how-do-some-canisters-handle-http-requests/9986/3 "2022-01-24T09:04:05Z")

</div>

if i want httpresponse for 2or3 times.  
how can i do that

> [@Exposing URLs for querying images](https://forum.dfinity.org/t/exposing-urls-for-querying-images/7669/17):
>
> I want to return some chunk information through [https://deqv7-6qaaa-aaaai-qfkna-cai.raw.ic0.app/](https://deqv7-6qaaa-aaaai-qfkna-cai.raw.ic0.app/) . But as you see the Callback did not work. It just return the first chunk. So,how can i return information thurough Callback to return chunk information. This my code [http\_demo/main.mo at main · xiaoyuanxun/http\_demo · GitHub](https://github.com/xiaoyuanxun/http_demo/blob/main/src/http/main.mo) Hope someone would help me I will be very grateful.

---

_[View the full topic](https://forum.dfinity.org/t/how-do-some-canisters-handle-http-requests/9986)._
