Add very simple add-only persistence model
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
919976073f
commit
9c3af74e1b
4 changed files with 89 additions and 1 deletions
13
landerctl
Executable file
13
landerctl
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
API_KEY=test
|
||||
URL=http://localhost:18080
|
||||
|
||||
if [ "$1" = add ]; then
|
||||
curl \
|
||||
-XPOST \
|
||||
-d "$3" \
|
||||
-H "X-Api-Key: $API_KEY" \
|
||||
"$URL/$2"
|
||||
echo "$URL/$2"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue