You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
369 B
17 lines
369 B
2 years ago
|
#!/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!")
|