From 1f3c2338b7e5d4b3bd2a980d7c909ff0bf968d5f Mon Sep 17 00:00:00 2001 From: neodarz Date: Thu, 9 Feb 2017 14:14:21 +0100 Subject: Update info for update and upload a file --- README.md | 4 ++-- 1 file 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` -- cgit v1.2.1