aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-02-09 14:14:21 +0100
committerneodarz <neodarz@neodarz.net>2017-02-09 14:14:21 +0100
commit1f3c2338b7e5d4b3bd2a980d7c909ff0bf968d5f (patch)
tree0af63c49319e4248df4aa9e16773c181135f5192
parentbaee9be0edae229e46a3b8f438b7b4a3022a84f3 (diff)
downloadthe_transcriber_backend-1f3c2338b7e5d4b3bd2a980d7c909ff0bf968d5f.tar.xz
the_transcriber_backend-1f3c2338b7e5d4b3bd2a980d7c909ff0bf968d5f.zip
Update info for update and upload a file
Diffstat (limited to '')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1f8eae6..6ebddd8 100644
--- a/README.md
+++ b/README.md
@@ -23,8 +23,8 @@ Ready to run in production? Please [check our deployment guides](http://www.phoe
To upload a file:
-`curl --form "audio_file[audio_path]=@RapportAssemblee.mp4" --form "audio_file[transcription_file_path]=RappooortAssemblee.mp4" --form "audio_file[audio_duration]=00:00" http://127.0.0.1:4000/api/audio_file`
+`curl --form "audio_file[audio_path]=@RapportAssemblee.mp4" --form "audio_file[audio_name]=RappooortAssemblee.mp4" --form "audio_file[audio_duration]=00:00" http://127.0.0.1:4000/api/audio_file`
To update a file:
-`curl --form "audio_file[audio_path]=@RapportAssemblee.mp4" --form "audio_file[transcription_file_path]=RapportAssemblee.mp4" --form "audio_file[audio_duration]=00:00" -X PATCH http://127.0.0.1:4000/audio_file/42`
+`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`