From 6bc9aa5b14d8ed961e7e1dba02712fa0fc2eebcd Mon Sep 17 00:00:00 2001 From: neodarz Date: Tue, 14 Feb 2017 11:50:49 +0100 Subject: Add more info about how to use this API --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6ebddd8..f361382 100644 --- a/README.md +++ b/README.md @@ -28,3 +28,5 @@ To upload a file: To update a file: `curl --form "audio_file[audio_path]=@RapportAssemblee.mp4" --form "audio_file[audio_name]=RapportAssemblee.mp4" --form "audio_file[audio_duration]=00:00" -X PATCH http://127.0.0.1:4000/audio_file/42` + +You can also view the content of the database with this web page : `http://127.0.0.1:4000/audio_file` -- cgit v1.2.1