done with SMS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user