Skip to content

Commit 6ba20e2

Browse files
committed
Add test api
1 parent 2ca9209 commit 6ba20e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ def sync():
2222
if request.method == 'GET':
2323
return read(user_id)
2424

25+
if request.method == 'POST':
26+
return 'test ok'
27+
2528
if request.method == 'PUT':
2629
data = request.get_json()
2730
return write(data, user_id)

0 commit comments

Comments
 (0)