# A proxy "joining" multiple HTTP requests into one

**URL:** <https://forum.dfinity.org/t/a-proxy-joining-multiple-http-requests-into-one/30541>\
**Category:** Showcase\
**Created:** [May 9, 2024, 3:17am UTC](https://forum.dfinity.org/t/a-proxy-joining-multiple-http-requests-into-one/30541 "2024-05-09T03:17:42Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![sea-snake](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/sea-snake/32/7243_2.png) [@sea-snake](https://forum.dfinity.org/u/sea-snake)\
**Post date:** [May 11, 2024, 11:53pm UTC](https://forum.dfinity.org/t/a-proxy-joining-multiple-http-requests-into-one/30541/12 "2024-05-11T23:53:27Z")

</div>

> [@qwertytrewq](#):
>
> already encrypted with HTTPS

Without vetkeys any canister call or http outcall is public information on the IC. When an http outcall is made, the http request is sent with a system api call to multiple IC nodes (unencrypted publicly) which then in turn make the actual https outcall, afterwards the responses are compared and returned to the canister (unencrypted publicly).

This is why storing, using and sending secrets with http outcalls is insecure. Even if the http request and response don’t need to be a secret, you’d want the manner of verifying if the incoming request is from a trusted canister to be secure, not a token that becomes public information on the IC the moment you sent it in the request.

So two additional challenges I see besides proxying requests with idempotency:

1. Verify that a incoming request is coming from a trusted canister with [tECDSA](https://internetcomputer.org/docs/current/developer-docs/smart-contracts/encryption/t-ecdsa), canister signatures or maybe even vetkeys in case request is encrypted with vetkeys. (discussed earlier [here](https://forum.dfinity.org/t/how-can-i-validate-that-a-request-is-originating-from-a-particular-canister/22374/1))
2. Encrypt/decrypt proxied requests and responses between canister and proxy with vetkeys.

---

_[View the full topic](https://forum.dfinity.org/t/a-proxy-joining-multiple-http-requests-into-one/30541)._
