I’d start with this example by @nomeata, and see if that helps you. You should be able to update state from a properly defined call, you just have to think about the implications of other actors hitting that endpoint (e.g. ensure that the logic is always canister-side, and doesn’t take parameters from the unauthenticated call).
GLdev
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Feature request: map appropriate HTTP request methods to update calls | 56 | 6105 | April 22, 2022 | |
| Heartbeat getting called before init is finished | 24 | 1736 | April 26, 2022 | |
| Calling http_request of another canister | 3 | 1151 | March 2, 2022 | |
| IC Cron - let's schedule some tasks bois | 26 | 3213 | February 12, 2022 | |
| Is there any way to set up recurring payments with the internet computer? | 17 | 1287 | March 14, 2022 |