Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
885c383
1
Parent(s):
e976dab
Update app.py
Browse files
app.py
CHANGED
@@ -3,12 +3,18 @@ from flask import render_template
|
|
3 |
import sqlite3
|
4 |
import os
|
5 |
import uuid
|
6 |
-
own_url = os.getenv('own_url') # URL сервера
|
7 |
-
|
8 |
|
|
|
|
|
9 |
import unittest
|
10 |
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
|
14 |
import json
|
@@ -244,7 +250,7 @@ def show_contacts():
|
|
244 |
test_url = 'https://example.com/api/endpoint'
|
245 |
|
246 |
# Переменные с данными
|
247 |
-
|
248 |
action_d = "add"
|
249 |
params_d = ""
|
250 |
name_d = ""
|
|
|
3 |
import sqlite3
|
4 |
import os
|
5 |
import uuid
|
|
|
|
|
6 |
|
7 |
+
import json
|
8 |
+
import base64
|
9 |
import unittest
|
10 |
|
11 |
|
12 |
+
own_url = os.getenv('own_url')
|
13 |
+
key_d = os.getenv('gc_api')
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
|
19 |
|
20 |
import json
|
|
|
250 |
test_url = 'https://example.com/api/endpoint'
|
251 |
|
252 |
# Переменные с данными
|
253 |
+
|
254 |
action_d = "add"
|
255 |
params_d = ""
|
256 |
name_d = ""
|