summaryrefslogtreecommitdiff
path: root/utils/src/main.rs
diff options
context:
space:
mode:
authorstuebinm2021-04-05 00:50:35 +0200
committerstuebinm2021-04-05 00:53:23 +0200
commit0f8b78c0b7e2aca94a14b36af020d0f7d8301cc5 (patch)
treeeebc14b5dbe7e5af541ffaa3efa4fd397c5f671d /utils/src/main.rs
parentef1624f645b53cf60c89b2caabc3087883ad7dbd (diff)
add simple server which takes POST requests
The idea is that it can accept surveys sent to it. Note that in an actual deployment it should have at least some rate-limiting, since actual validation of input is impossible if they are encrypted – i.e. this is bascially a pastbin. It may, however, be possible to require signing answers for survey with access restrictions, or do a challange/response type thing before allowing submission.
Diffstat (limited to 'utils/src/main.rs')
0 files changed, 0 insertions, 0 deletions