@teams_app.get("/avg-team-feedback/{team}") def get_feedbackdetails_ui(team:str): try: endpoint = "https://abc.net/avg-team-feedbacks/" + team token = auth_token.get_token() headers = { 'Content-type': 'application/json', 'Authorization': 'Bearer ' + token } team_detail = { 'team' : team } response = requests.get(endpoint, headers=headers, data=team_detail, verify = False) return response.json() except requests.exceptions.RequestException as e: print(f"Request Exception: {e}")