Does anyone have any example on how to call the http interface using curl?
How to generate content without using agent?
I cannot find example
But you can search in this repo how to use HTTPS interface
It seems that it is possible to use curl if there is an encoder to cbor on bash
Have you found examples? I’m trying to do the same thing
No, I ended up using agent library to do that instead of curl. You can check it here:
photos/auth.ts at main · functionland/photos (github.com)
You need to run
icx-proxy locally, and then you can curl that to HTTP GET assets from canisters that implement
How do you use curl to interact with a mainnet,Can you provide a command line，thank you very much