done with SMS

This commit is contained in:
lennyaiko
2025-03-27 12:30:45 +01:00
parent 6bb84fed78
commit 9bde3984a7
2 changed files with 39 additions and 0 deletions
+17
View File
@@ -42,3 +42,20 @@ def status_call():
}
return jsonify(response), 200
@auth_bp.route("/sms", methods=["POST"])
def sms():
data = request.json
api_url = f"{current_app.config['API_BASE_URL']}/SMS"
# response = requests.post(api_url, json=data, headers=get_headers())
# return jsonify(response.json()), response.status_code
response = {
"data": "",
"statusCode": 200,
"IsSuccessful": True,
"errorMessage": None,
}
return jsonify(response), 200