Open mitar opened 8 years ago
Hi @mitar,
We'll be getting to this as we revise the powerbox to be useful for apps. I don't think we'll be adding httpPost
to the existing hack session stuff as a matter of managing our time so that we can get the powerbox out sooner.
Having said that, you can already do this if you request a IpNetwork, see: https://github.com/sandstorm-io/sandstorm/blob/master/src/sandstorm/ip.capnp#L45
The "copy/paste powerbox" should work fine for this use. I know I keep saying the "powerbox isn't ready" but enough plumbing is, so I can help you with that if you want.
How would copy/paste powerbox work in this case? So how could I submit a form in the name of the user inside a cron job using powerbox?
Could we also allow HTTP POST requests? This would allow apps to do bot POST requests in the name of the user. For me Sandstorm is really about making personal apps and such apps often also want to automatize some tasks. Sending an outbound HTTP POST is pretty common.