add ping method
This commit is contained in:
		
							parent
							
								
									6cd8341a2f
								
							
						
					
					
						commit
						3064dca6ca
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -11,6 +11,11 @@ from core import processor | |||
| logger = logging.getLogger(__name__) | ||||
| 
 | ||||
| 
 | ||||
| @app.route("/ping", methods=['GET']) | ||||
| def ping(): | ||||
|     return "OK" | ||||
| 
 | ||||
| 
 | ||||
| @app.route("/comments", methods=['GET']) | ||||
| def query_comments(): | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Yax
						Yax