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