Update
This commit is contained in:
13
cgi-bin/vorbereitung/api.py
Normal file
13
cgi-bin/vorbereitung/api.py
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import cgi
|
||||
|
||||
form = cgi.FieldStorage(encoding="utf-8")
|
||||
n = form.getValue("n")
|
||||
print("Content-Type: text/html")
|
||||
|
||||
if (n == 42):
|
||||
print("reudig")
|
||||
else:
|
||||
print("Schneeensch")
|
||||
|
Reference in New Issue
Block a user