Skip to content

Commit 2500756

Browse files
committed
update code
1 parent 9f76025 commit 2500756

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

RestApi4/db.sqlite3

0 Bytes
Binary file not shown.

ThirdPartyFIle/update.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
URL = "http://127.0.0.1:8000/apiupdate/"
55

66
data = {
7-
'id': 2,
8-
'teacher_name': 'Md. Abul',
9-
'course_name': 'Web Development',
7+
'id': 3,
8+
'teacher_name': 'Tansen',
9+
'course_name': 'Machine Learning',
10+
1011
}
1112

1213
json_data = json.dumps(data)

0 commit comments

Comments
 (0)