aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index e12b69c..cb5843b 100644
--- a/README.md
+++ b/README.md
@@ -18,3 +18,8 @@ Ready to run in production? Please [check our deployment guides](http://www.phoe
* Docs: https://hexdocs.pm/phoenix
* Mailing list: http://groups.google.com/group/phoenix-talk
* Source: https://github.com/phoenixframework/phoenix
+
+## Usage of the api:
+
+For upload a file:
+`curl --form "audio_file[audio_path]=@yolo" --form "audio_file[transcription_file_path]=ooooo" --form "audio_file[audio_duration]=blabla" http://127.0.0.1:4000/api/audio_file`