Difference between revisions of "Talk:Apertium-apy"

From Apertium
Jump to navigation Jump to search
(Created page with "because I always keep forgetting how to send files: curl -d 'q=@file' http://localhost:2737/translate")
 
Line 1: Line 1:
because I always keep forgetting how to send files:
because I always keep forgetting how to send files:


curl -d 'q=@file' http://localhost:2737/translate
curl -d '@file' 'http://localhost:2737/translate/?langpair=nno|nob&q' # note q at the end, for some reason -d 'q=@file' doesn't work

Revision as of 09:46, 26 October 2015

because I always keep forgetting how to send files:

 curl -d '@file' 'http://localhost:2737/translate/?langpair=nno%7Cnob&q' # note q at the end, for some reason -d 'q=@file' doesn't work