Test function POST
This commit is contained in:
1 parent
3b4a5624ef
commit
c165b27704
1 file changed
+10
@@ -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