about summary refs log tree commit diff
path: root/requests_examples.sh
blob: 45ef59df02cf5ba3965617855fd092ce46ac4783 (plain) (blame)
1
2
3
4
5
#!/bin/sh

curl -H "API_KEY: ${API_KEY}" -X POST -d '{"timestamp": "2017-01-02T15:04:05Z"}' http://leunam.dev:9999/file/

curl -H "API_KEY: ${API_KEY}" -X GET http://leunam.dev:9999/file/