This repository has been archived on 2024-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
GeminiScripts/inbox
2022-01-24 18:07:40 +01:00

17 lines
369 B
Python
Executable file

#!/usr/bin/env python3
import requests
import smolcgi
smolcgi.require_cool_client("This script is not publicly available, sorry!")
if not smolcgi.query_string_dec:
smolcgi.require_input("What's the matter?")
data = {"content": smolcgi.query_string_dec}
requests.post("http://127.0.0.1:28149", data=data)
smolcgi.header(20, "text/plain")
print("Input saved!")