-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathremote_test.hurl
More file actions
42 lines (37 loc) · 990 Bytes
/
remote_test.hurl
File metadata and controls
42 lines (37 loc) · 990 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
31
32
33
34
35
36
37
38
39
40
41
42
POST https://vendors.sdkman.io/consumers
Admin-Token: 99404430353170033f63211acd3e4112ad8ec93a87e8e36faf0ecb9489f1e16d
{
"consumer" : "info@sdkman.io",
"candidates": [
"java"
]
}
HTTP 201
[Captures]
consumerKey: jsonpath "$.consumerKey"
consumerToken: jsonpath "$.consumerToken"
name: jsonpath "$.name"
POST https://vendors.sdkman.io/versions
Consumer-Key: {{consumerKey}}
Consumer-Token: {{consumerToken}}
{
"candidate":"java",
"version":"21.ea.xx",
"vendor" : "open",
"platform":"LINUX_ARM64",
"url" : "https://download.java.net/java/early_access/jdk21/28/GPL/openjdk-21-ea+28_macos-aarch64_bin.tar.gz",
"visible": false
}
HTTP 201
DELETE https://vendors.sdkman.io/versions
Consumer-Key: {{consumerKey}}
Consumer-Token: {{consumerToken}}
{
"candidate":"java",
"version":"21.ea.xx-open",
"platform":"LINUX_ARM64"
}
HTTP 200
DELETE https://vendors.sdkman.io/consumers/{{consumerKey}}
Admin-Token: 99404430353170033f63211acd3e4112ad8ec93a87e8e36faf0ecb9489f1e16d
HTTP 200