forked from viniciusfeitosa/europython2018
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequest.http
49 lines (34 loc) · 907 Bytes
/
request.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
POST http://localhost/create_user HTTP/1.1
content-type: application/json
{
"name": "Vinicius Pacheco",
"email": "[email protected]",
"description": "It's just a simple test",
"permission": "admin"
}
###
POST http://localhost/create_user HTTP/1.1
content-type: application/json
{
"name": "Vinicius Feitosa",
"email": "[email protected]",
"description": "It's just a simple test",
"permission": "admin"
}
###
POST http://localhost/create_user HTTP/1.1
content-type: application/json
{
"name": "Vinicius Pacheco",
"email": "[email protected]",
"description": "It's just a simple test",
"permission": "user"
}
###
GET http://localhost/users/44280190-84b6-11e8-a235-0242ac120005 HTTP/1.1
###
GET http://localhost/users/1/10 HTTP/1.1
###
GET http://localhost/users/admin/permission HTTP/1.1
###
GET http://localhost/users/user/permission HTTP/1.1