Calling http_request of another canister

http_request between two canisters.

I have two canisters as below
canister_1.http_request
canister_2.http_request

Can we call canister_1.http_request from canister_2.http_request ? Is it possible

Getting misplaced await error

This doesn’t seem possible to me currently : http_request needs to be a query method and inter-canister calls needs to await currently.

Probably possible when we got inter-canister query calls.

1 Like

Thank you Seb

Have you ever come across cycles max-out issue ? While calling an update method of a canister.

In the meantime I think calling http_request_update would work if you provided that and implemented it in terms of http_request. It would be slower and more expensive though.

1 Like