-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathendpoints.http
53 lines (44 loc) · 1.15 KB
/
endpoints.http
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
### Create Candidate
POST http://localhost:8080/candidate/
Content-Type: application/json
{
"username":"joao",
"name":"Joao Augusto",
"email":"joao@gmail.com",
"password":"123456789",
"description":"Dev. Java Júnior"
}
### Create Company
POST http://localhost:8080/company/
Content-Type: application/json
{
"username": "TestCompany",
"email": "test@company.com",
"password": "Test@1234",
"website": "www.testcompany.com",
"name": "Test Company",
"description": "This is a test company"
}
### Create Job - JWT Token Required (Bearer Token) in Authorization Header
POST http://localhost:8080/job/
Content-Type: application/json
{
"description": "Desenvolvedor Java Sênior",
"benefits": "Plano de saúde, vale refeição, vale transporte",
"level": "Sênior",
"companyId": "6f3c2391-f35b-4b60-826e-fbfd6bfcbe6c"
}
### Auth Company
POST http://localhost:8080/company/auth
Content-Type: application/json
{
"username": "TestCompany",
"password": "Test@1234"
}
### Auth Candidate
POST http://localhost:8080/candidate/auth
Content-Type: application/json
{
"username": "joao",
"password": "123456789"
}