DmitrMakeev commited on
Commit
04739c0
·
verified ·
1 Parent(s): 696b5f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +34 -1
app.py CHANGED
@@ -35,11 +35,44 @@ def save_db():
35
  pr1 = request.args.get('pr1')
36
  pr2 = request.args.get('pr2')
37
  pr3 = request.args.get('pr3')
38
- data = {
39
  "email": email,
40
  "unconfirmed": False
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  }
42
 
 
 
43
  headers = {
44
  'Authorization': f'Bearer {token}',
45
  'Content-Type': 'application/json'
 
35
  pr1 = request.args.get('pr1')
36
  pr2 = request.args.get('pr2')
37
  pr3 = request.args.get('pr3')
38
+ data = data = {
39
  "email": email,
40
  "unconfirmed": False
41
+ "values":[
42
+ {
43
+ "id":390240,
44
+ "kind":"string",
45
+ "list_id":557103,
46
+ "title":"pr3"
47
+ },
48
+ {
49
+ "id":390239,
50
+ "kind":"string",
51
+ "list_id":557103,
52
+ "title":"pr2"
53
+ },
54
+ {
55
+ "id":390238,
56
+ "kind":"string",
57
+ "list_id":557103,
58
+ "title":"pr1"
59
+ },
60
+ {
61
+ "id":390237,
62
+ "kind":"string",
63
+ "list_id":557103,
64
+ "title":"phone"
65
+ },
66
+ {
67
+ "id":390236,
68
+ "kind":"string",
69
+ "list_id":557103,
70
+ "title":"name"
71
+ }]
72
  }
73
 
74
+
75
+
76
  headers = {
77
  'Authorization': f'Bearer {token}',
78
  'Content-Type': 'application/json'