-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharticles_rqstr.json
56 lines (48 loc) · 1.63 KB
/
articles_rqstr.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
###env
base_url = 'http://localhost:8000/'
###env
get(base_url+ 'articles')
get(base_url+ 'articles/4a1a08a-b31e-427e-84f3-127a1273ffd2')
post(base_url+ 'articles',
json={
"id": "4a71a08a-b31e-427e-84f3-127a1273ffd2",
"title": "Understanding Node.js File System Module",
"url": "https://levelup.gitconnected.com/understanding-node-js-file-system-module-b16da1e01949",
"keywords": ["Nodejs", "Filesystem"],
"modifiedAt": "08/04/2021",
"publishedAt": "06/24/2019",
"author": "Swathi Prasad",
"readMins": 3,
"source": "BLOG"
})
post(base_url+ 'articles',
json={
"id": "6e3beecd-9bbf-4ec1-8960-f15c73c87d99",
"title": "A Short Summary On Clean Coding Best Practices",
"url": "https://codeburst.io/a-short-summary-on-clean-coding-best-practices-d8afbfa7677",
"keywords": ["Software Development", "Coding", "Clean Code"],
"modifiedAt": "02/15/2021",
"publishedAt": "02/15/2021",
"author": "Thilina Ashen Gamage",
"readMins": 3,
"source": "BLOG"
})
delete(base_url+ 'articles/4a71a08a-b31e-427e-84f3-127a1273ffd2')
put(base_url+ 'articles/6e3beecd-9bbf-4ec1-8960-f15c73c87d99',
json={
"id": "6e3beecd-9bbf-4ec1-8960-f15c73c87d99",
"title": "A Short Summary On Clean Coding Best Practices",
"url": "https://codeburst.io/a-short-summary-on-clean-coding-best-practices-d8afbfa7677",
"keywords": ["Software Development", "Coding", "Clean Code"],
"modifiedAt": "03/15/2021",
"publishedAt": "03/15/2021",
"author": "Thilina Ashen Gamage",
"readMins": 5,
"source": "BLOG"
})
patch(base_url+ 'articles/6e3beecd-9bbf-4ec1-8960-f15c73c87d99',
json={
"modifiedAt": "02/15/2021",
"publishedAt": "02/15/2021",
"readMins": 3
})