A step for Puppet Relay that makes an API call
2.0K
This step allows you to easily make api calls to any url. You can specify the http method to use as well as the headers, query parameters and body.
To use this step, simply use the image noahvantiggel/relay-api-call in Relay
headers:
"Content-Type": "application/json"
Accept: "application/json"
Authorization: !Secret authkey
query:
x: 1
y: 2
Results in
url?x=1&y=2
body:
x: "This is X"
y: "This is Y"
z: "This is X"
Results in
{
"x": "This is X",
"y": "This is Y",
"z": "This is Z"
}
This project is licensed under Apache 2.0
Copyright (C) 2021 Noah Van Tiggel
Content type
Image
Digest
Size
57.9 MB
Last updated
over 5 years ago
docker pull noahvantiggel/relay-api-call