diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-30 19:07:32 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-30 19:07:32 +0200 |
commit | c04f384cdbcdc2359b82de4e9fa6e5685ce9b74e (patch) | |
tree | bded35dbae73bb108ea2cdda0938186333f61812 /requests_examples.sh | |
parent | misc: Rename API_KEY env var to FS_TRACER_API_KEY (diff) | |
download | fs-tracer-backend-c04f384cdbcdc2359b82de4e9fa6e5685ce9b74e.tar.gz fs-tracer-backend-c04f384cdbcdc2359b82de4e9fa6e5685ce9b74e.tar.bz2 fs-tracer-backend-c04f384cdbcdc2359b82de4e9fa6e5685ce9b74e.zip |
rest-api: change route to /api/v1/file/
Diffstat (limited to 'requests_examples.sh')
-rwxr-xr-x | requests_examples.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/requests_examples.sh b/requests_examples.sh index 7ae8ba8..3aa5179 100755 --- a/requests_examples.sh +++ b/requests_examples.sh @@ -6,7 +6,7 @@ curl -H "API_KEY: ${FS_TRACER_API_KEY}" -X POST -d ' "absolute_path": "/home/user/file.txt", "contents": "Hello, World!" } -' http://leunam.dev:9999/file/ +' http://leunam.dev:9999/api/v1/file/ -curl -H "API_KEY: ${FS_TRACER_API_KEY}" -X GET http://leunam.dev:9999/file/?path=%2Fhome%2Fuser%2Ffile.txt +curl -H "API_KEY: ${FS_TRACER_API_KEY}" -X GET http://leunam.dev:9999/api/v1/file/?path=%2Fhome%2Fuser%2Ffile.txt |