Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
27c37167d6
2 changed files with 7 additions and 1 deletions
|
@ -2,3 +2,9 @@ from flask import *
|
|||
import OpenSSL as ssl
|
||||
import requests
|
||||
|
||||
public_serv= open("./server/ssl.public.key")
|
||||
data='Hello World !'
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ def index():
|
|||
return render_template("index.html")
|
||||
|
||||
@app.route('/data', methods=['POST'])
|
||||
def index():
|
||||
def receiv():
|
||||
encrypted_data = request.form['data']
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue