0ff6151
1
2
3
4
5
6
7
8
9
import requests API_URL = "http://127.0.0.1:8000/" # def get_response(end_point): response = requests.get(f"{API_URL}/{end_point}") return response.json()