-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostman_collection_part1.json
More file actions
86 lines (86 loc) · 2.22 KB
/
postman_collection_part1.json
File metadata and controls
86 lines (86 loc) · 2.22 KB
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
85
86
{
"info": {
"name": "Interview Prep API - Complete Collection",
"description": "Complete API collection with all 36 endpoints",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"variable": [
{
"key": "baseUrl",
"value": "http://localhost:8000",
"type": "string"
},
{
"key": "sessionId",
"value": "",
"type": "string"
},
{
"key": "questionId",
"value": "",
"type": "string"
},
{
"key": "jobId",
"value": "",
"type": "string"
}
],
"item": [
{
"name": "1. Authentication",
"item": [
{
"name": "Register User",
"request": {
"method": "POST",
"header": [{"key": "Content-Type", "value": "application/json"}],
"url": "{{baseUrl}}/api/v1/user/register",
"body": {
"mode": "raw",
"raw": "{\n \"fullname\": \"John Doe\",\n \"email\": \"[email protected]\",\n \"password\": \"password123\"\n}"
}
}
},
{
"name": "Login User",
"request": {
"method": "POST",
"header": [{"key": "Content-Type", "value": "application/json"}],
"url": "{{baseUrl}}/api/v1/user/login",
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"[email protected]\",\n \"password\": \"password123\"\n}"
}
}
},
{
"name": "Get User Profile",
"request": {
"method": "GET",
"url": "{{baseUrl}}/api/v1/user/profile"
}
},
{
"name": "Update Profile",
"request": {
"method": "PUT",
"header": [{"key": "Content-Type", "value": "application/json"}],
"url": "{{baseUrl}}/api/v1/user/profile",
"body": {
"mode": "raw",
"raw": "{\n \"fullname\": \"John Updated Doe\"\n}"
}
}
},
{
"name": "Logout User",
"request": {
"method": "POST",
"url": "{{baseUrl}}/api/v1/user/logout"
}
}
]
}
]
}