Add some examples
This commit is contained in:
parent
0f67b0523a
commit
d72a9f249c
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import sys
|
||||||
|
import json
|
||||||
|
|
||||||
|
print("<h1>Hello!</h1>")
|
||||||
|
|
||||||
|
request = json.loads(sys.stdin.read())
|
||||||
|
|
||||||
|
|
||||||
|
print("<p>You're looking at {}.</p>".format(request['url']))
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
|
print(sys.stdin.read())
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
read test
|
||||||
|
|
||||||
|
echo $test
|
Reference in New Issue