-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclient.http
46 lines (30 loc) · 1.42 KB
/
client.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
### ----------------------------------------------------------------------------------------
@baseUrl = http://localhost:3333
### ----------------------------------------------------------------------------------------
### ----------------------------------------------------------------------------------------
# @name Create_Goals
POST {{baseUrl}}/goals HTTP/1.1
Content-Type: application/json
{
"title": "Não usar o celular de noite",
"desiredWeeklyFrequency": 4
}
### ----------------------------------------------------------------------------------------
### ----------------------------------------------------------------------------------------
# @name Pending_Goals
GET {{baseUrl}}/pending-goals HTTP/1.1
Content-Type: application/json
### ----------------------------------------------------------------------------------------
### ----------------------------------------------------------------------------------------
# @name Summary
GET {{baseUrl}}/summary HTTP/1.1
Content-Type: application/json
### ----------------------------------------------------------------------------------------
### ----------------------------------------------------------------------------------------
# @name Create_Goals_Completions
POST {{baseUrl}}/completions HTTP/1.1
Content-Type: application/json
{
"goalId": "pj4creynhdrrlxsaklnk3ji6"
}
### ----------------------------------------------------------------------------------------