Test function POST
This commit is contained in:
10
main_post.py
Normal file
10
main_post.py
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
def handler(request):
|
||||||
|
print(f"Got headers: {request.headers}")
|
||||||
|
|
||||||
|
return {
|
||||||
|
"body": {
|
||||||
|
"source": "function",
|
||||||
|
"message": "Fuck you",
|
||||||
|
"payload": request.body,
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user