From 2d7d92be4046f0eef03b8d7f4b5f851f4bc10ff0 Mon Sep 17 00:00:00 2001 From: neodarz Date: Tue, 7 Mar 2017 11:45:08 +0100 Subject: Fix example update address --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6eba7fb..76276db 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ 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` +`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/api/audio_file/42` To delete a file: -- cgit v1.2.1