-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.http
More file actions
30 lines (20 loc) · 742 Bytes
/
Copy pathtest.http
File metadata and controls
30 lines (20 loc) · 742 Bytes
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
http://localhost:3000/healthz
POST https://example.com/comments HTTP/1.1
content-type: application/json
{
"name": "sample",
"time": "Wed, 21 Oct 2015 18:27:50 GMT"
}
http://127.0.0.1:9080/keycloak
https://127.0.0.1:9080/auth/realms/master/protocol/openid-connect/token?grant_type=password&username=keycloakl&password=password&client_id=admin-cli
Accept: application/json
content-type: application/x-www-form-urlencoded
cache-control: no-cache
{
"name": "sample",
"time": "Wed, 21 Oct 2015 18:27:50 GMT"
}
-H 'Accept: application/json' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'cache-control: no-cache' \
-d 'grant_type=password&username=<USERNAME>l&password=<PASSWORD>&client_id=admin-cli'