diff options
author | neodarz <neodarz@neodarz.net> | 2017-02-09 14:14:21 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2017-02-09 14:14:21 +0100 |
commit | 1f3c2338b7e5d4b3bd2a980d7c909ff0bf968d5f (patch) | |
tree | 0af63c49319e4248df4aa9e16773c181135f5192 | |
parent | baee9be0edae229e46a3b8f438b7b4a3022a84f3 (diff) | |
download | the_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.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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` |