crabby Posted February 7, 2016 Share Posted February 7, 2016 i translate words and yandex api with fetchRemote but i have this error why ? i how fix it Link to comment
Simple0x47 Posted February 7, 2016 Share Posted February 7, 2016 Can you explain better your problem? Link to comment
crabby Posted February 7, 2016 Author Share Posted February 7, 2016 i use this code. this yandex link on web working but in mta dont working why? error number 1 and i found this https://curl.haxx.se/libcurl/c/libcurl-errors.html CURLE_UNSUPPORTED_PROTOCOL (1) fetchRemote("https://translate.yandex.net/api/v1.5/tr/translate?key=MyTranslateApiKey〈=tr-en&text=Selam", function(data,errno,source) if errno == 0 then outputServerLog(data) else outputServerLog(errno) end end,"",false,source) Link to comment
ixjf Posted February 7, 2016 Share Posted February 7, 2016 Make sure you're using MTA 1.5.2. The implementation in older versions doesn't support the HTTPS protocol. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now