diff options
author | neodarz <neodarz@neodarz.net> | 2017-02-27 11:39:36 +0100 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2017-02-27 11:39:36 +0100 |
commit | 9e6d421451882f0162ebbac217af5d06328a0ad8 (patch) | |
tree | 0732b6bbe754acc8c4f4d9f72e8a95c4c127c472 | |
parent | 7b98d88c9e618a2b0cf2dc1d9994761368f61d88 (diff) | |
download | the_transcriber_backend-9e6d421451882f0162ebbac217af5d06328a0ad8.tar.xz the_transcriber_backend-9e6d421451882f0162ebbac217af5d06328a0ad8.zip |
Remove some '\n'
Diffstat (limited to '')
-rw-r--r-- | README.md | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -24,15 +24,11 @@ Ready to run in production? Please To upload a file: -`curl --form "audio_file[audio_path]=@RapportAssemblee.mp4" --form -"audio_file[audio_name]=Rapport vidéo de l'assemblée" --form -"audio_file[audio_duration]=03:20" http://127.0.0.1:4000/api/audio_file` +`curl --form "audio_file[audio_path]=@RapportAssemblee.mp4" --form "audio_file[audio_name]=Rapport vidéo de l'assemblée" --form "audio_file[audio_duration]=03:20" http://127.0.0.1:4000/api/audio_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/audio_file/42` To delete a file: @@ -42,8 +38,7 @@ You can also view the content of the database with this web page : [`localhost:4000/audio_file`](http://127.0.0.1:4000/audio_file) ## Development: -If you have an error like : `[debug] ** (Ecto.NoResultsError) expected at least -one result but got none in query:` when you dev, check the doc : +If you have an error like : `[debug] ** (Ecto.NoResultsError) expected at least one result but got none in query:` when you dev, check the doc : `http://www.phoenixframework.org/v0.14.0/docs/custom-errors` tl;dr: change this `debug_errors: false` and `catch_errors: true` in |