Test function POST
This commit is contained in:
		
							parent
							
								
									3b4a5624ef
								
							
						
					
					
						commit
						c165b27704
					
				
							
								
								
									
										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, | ||||
|         }, | ||||
|     } | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user