mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-22 04:12:23 +02:00
git-subtree-dir: foundations/hulylake git-subtree-mainline:da88233ddagit-subtree-split:eb911a3bc7
12 lines
533 B
Makefile
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}}
|