Files
huly-platform/foundations/hulylake/server/Justfile
T
Denis Bykhov 64e456e0ec Add 'foundations/hulylake/' from commit 'eb911a3bc7a759ee0642b2698620a2f0f68f7b61'
git-subtree-dir: foundations/hulylake
git-subtree-mainline: da88233dda
git-subtree-split: eb911a3bc7
2025-11-26 22:57:07 +05:00

12 lines
533 B
Makefile

workspace := "4cd5a9d5-7c74-47b1-ac93-265f0bcc73af"
key := "abcd"
headers := '-H "Content-Type:" -H "huly-header-x-test: test" -H "huly-meta-x-test: test"'
token := `cat _hidden/token.txt`
put:
curl -X PUT -i -H "Authorization: Bearer {{token}}" -H @_hidden/headers.txt --data-binary @_hidden/data_large.bin http://localhost:8096/api/{{workspace}}/{{key}}
get:
curl -X GET -s -D - -H "Authorization: Bearer {{token}}" -H @_hidden/headers.txt -o _hidden/data_output.bin http://localhost:8096/api/{{workspace}}/{{key}}