diff options
author | neodarz <neodarz@neodarz.net> | 2017-02-07 14:13:41 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2017-02-07 14:13:41 +0100 |
commit | 3b0278d9ac43095bea152b4e713e2d2d57c75680 (patch) | |
tree | 5c5f466e16af0fe97a4d31b3abfe7ce006fbca59 | |
parent | c7ffa45f020ee115c7349722b547920bfbc37bce (diff) | |
download | the_transcriber_backend-3b0278d9ac43095bea152b4e713e2d2d57c75680.tar.xz the_transcriber_backend-3b0278d9ac43095bea152b4e713e2d2d57c75680.zip |
Add some info for use the api with curl
Diffstat (limited to '')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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` |