page_send_adata
This commit is contained in:
parent
07f9744a14
commit
484029d3ca
2 changed files with 7 additions and 1 deletions
|
@ -1,2 +1,4 @@
|
|||
from flask import *
|
||||
import OpenSSL as ssl
|
||||
import requests
|
||||
|
||||
|
|
|
@ -12,5 +12,9 @@ app= Flask(__name__)
|
|||
def index():
|
||||
return render_template("index.html")
|
||||
|
||||
@app.route('/data', methods=['POST'])
|
||||
def index():
|
||||
encrypted_data = request.form['data']
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(ssl_context=context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue