Skip to content

Commit fc755aa

Browse files
committed
A little HTTP client
1 parent 669176c commit fc755aa

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

var/client.http

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
### GET Owners
2+
GET http://localhost:8000/api/platform/v1/owners
3+
4+
### GET resources
5+
GET http://localhost:8000/api/platform/v1/resources
6+
7+
### Create Owner
8+
POST http://localhost:8000/api/platform/v1/owners
9+
Content-Type: application/json
10+
11+
{
12+
"name": "MrMat"
13+
}
14+
15+
> {%
16+
const owner_uid = jsonPath(response.body, ".owner_uid")
17+
%}
18+
19+
###

0 commit comments

Comments
 (0)