-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPHPTaskDDD.json
84 lines (84 loc) · 1.58 KB
/
PHPTaskDDD.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"info": {
"_postman_id": "39f5df32-109e-4421-9bb8-1b930771c67b",
"name": "PHPTaskDDD",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "getAllTasks",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8000/tasks"
},
"response": []
},
{
"name": "getTaskById",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8000/tasks/1"
},
"response": []
},
{
"name": "createTask",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "title",
"value": "learning laravel",
"type": "default"
},
{
"key": "description",
"value": "this is description for learning laravel task",
"type": "default"
}
]
},
"url": "http://127.0.0.1:8000/tasks"
},
"response": []
},
{
"name": "deleteTask",
"request": {
"method": "DELETE",
"header": [],
"url": "http://localhost:8000/tasks/1"
},
"response": []
},
{
"name": "updateTask",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "title",
"value": "this is updated title for first task",
"type": "default"
},
{
"key": "description",
"value": "also this is updated description for first task",
"type": "default"
}
]
},
"url": "http://localhost:8000/tasks/1"
},
"response": []
}
]
}