feat(lander): introduce file entry type
This commit is contained in:
parent
3d48ee8019
commit
7fac278ead
5 changed files with 93 additions and 33 deletions
|
|
@ -38,4 +38,12 @@ elif [ "$1" = pl ]; then
|
|||
-H "X-Api-Key: $API_KEY" \
|
||||
--data-binary @"$2" \
|
||||
"$URL/pl/$3"
|
||||
|
||||
elif [ "$1" = f ]; then
|
||||
curl \
|
||||
-w "${URL}%header{location}" \
|
||||
-XPOST \
|
||||
-H "X-Api-Key: $API_KEY" \
|
||||
--data-binary @"$2" \
|
||||
"$URL/f/$3"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue