llm_hub/app/api/v1/controllers.py

8 lines
171 B
Python

from flask import Blueprint, jsonify
api_v1 = Blueprint('api_v1', __name__)
@api_v1.route('/ping', methods=['GET'])
def ping():
return jsonify({'message': 'pong!'})