Python HTTP Function
Welcome to your new Python function project! The boilerplate function
code can be found in func.py. This function will respond
to incoming HTTP GET and POST requests.
Endpoints
Running this function will expose three endpoints.
- /The endpoint for your function.
- /health/readinessThe endpoint for a readiness health check
- /health/livenessThe endpoint for a liveness health check
The health checks can be accessed in your browser at http://localhost:8080/health/readiness and http://localhost:8080/health/liveness.
You can use func invoke to send an HTTP request to the function endpoint.
Testing
This function project includes a unit test. Update this as you add business logic to your function in order to test its behavior.
python test_func.py
Description
				
					Languages
				
				
								
								
									Python
								
								96.1%
							
						
							
								
								
									Shell
								
								2.6%
							
						
							
								
								
									Procfile
								
								1.3%
							
						
					