multiple lines supported? #89
Conichiwa-Saodeisiga
started this conversation in
General
Replies: 1 comment 1 reply
|
For readability, please use markdown code blocks to describe your confusion. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
DEEPL EXAMPLE REQUEST:
DEEPL EXAMPLE RESPONSE:
{ "translations": [ { "detected_source_language": "EN", "text": "Das ist der erste Satz." }, { "detected_source_language": "EN", "text": "Das ist der zweite Satz." }, { "detected_source_language": "EN", "text": "Dies ist der dritte Satz." } ] }Is there a way to use multiline text in a POST request, and most importantly, in the response, the translation results of each line of text should be easily matched with the corresponding original text?
Post Request Attempt:
Expected Response:
{ "translations": [ { "detected_source_language": "EN", "text": "Das ist der erste Satz." }, { "detected_source_language": "EN", "text": "Das ist der zweite Satz." }, { "detected_source_language": "EN", "text": "Dies ist der dritte Satz." } ] }All reactions