From 221d7b969bb47050fe60dad7da1690354e747194 Mon Sep 17 00:00:00 2001 From: leelavathikm1 Date: Sun, 22 Jun 2025 20:50:02 +0530 Subject: [PATCH] commit --- BaseCamp3/Day_2/calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseCamp3/Day_2/calculator.py b/BaseCamp3/Day_2/calculator.py index 331c76de..fc4db6d3 100644 --- a/BaseCamp3/Day_2/calculator.py +++ b/BaseCamp3/Day_2/calculator.py @@ -63,7 +63,7 @@ def calculate_result(): endpoint = f"{api_url}/{st.session_state.operation}" # Make the API call - response = requests.get(endpoint, params={"a": first_num, "b": second_num}) + response = requests.post(endpoint, params={"a": first_num, "b": second_num}) # Check if the request was successful if response.status_code == 200: