about summary refs log tree commit diff
path: root/requests_examples.sh
diff options
context:
space:
mode:
Diffstat (limited to 'requests_examples.sh')
-rwxr-xr-xrequests_examples.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/requests_examples.sh b/requests_examples.sh
index 3aa5179..ada2497 100755
--- a/requests_examples.sh
+++ b/requests_examples.sh
@@ -1,11 +1,11 @@
 #!/bin/sh
 
 curl -H "API_KEY: ${FS_TRACER_API_KEY}" -X POST -d '
-{
+[{
 	"timestamp": "2020-01-02T15:04:05Z",
 	"absolute_path": "/home/user/file.txt",
 	"contents": "Hello, World!"
-}
+}]
 ' http://leunam.dev:9999/api/v1/file/
 
 curl -H "API_KEY: ${FS_TRACER_API_KEY}" -X GET http://leunam.dev:9999/api/v1/file/?path=%2Fhome%2Fuser%2Ffile.txt