MyMemory - Translation Memory

फ्रीमियम
द्वारा Translated | अपडेट किया गया 5 महीने पहले | Business
लोकप्रियता

9.7 / 10

लेटेंसी

463ms

सेवा का स्तर

100%

सभी चर्चाओं पर वापस जाएं

English to Greek - Works in Code Snippet, not in my app

avatar
david.delmonte
2 वर्ष पहले

Hi all, I’m trying to translate a word from English to Greek.

I set up in the Test End Point: the languages as “en|el”

When I test the endpoint, it works fine. When I copy the request into my swift app, I get the 403 with “INVALID LANGUAGE PAIR SPECIFIED”. I also get the same result when using the default “en|it”

Anyone else experienced this?

avatar
translated commented 2 वर्ष पहले

Hi David,

what version of Swift are you using?

What the snippet does is very simple,
it execute an HTTP GET call to this address "https://translated-mymemory—translation-memory.p.rapidapi.com/api/get?mt=1&onlyprivate=0&de=a%2540b.c&langpair=en%257Cit&q=Hello%20World!"
with the correct credentials in the header: “x-rapidapi-host” and “x-rapidapi-key”.

avatar
david.delmonte commented 2 वर्ष पहले

Thanks for the fast reply…

My http call is: “https://translated-mymemory—translation-memory.p.rapidapi.com/api/get?mt=1&onlyprivate=0&de=a%2540b.c&langpair=en%257Cel&q=Hello%20World!”

And I’m using Swift v.5.x

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें
रेटिंग: 3.8 - वोट: 4