crabby Posted February 7, 2016 Posted February 7, 2016 i translate words and yandex api with fetchRemote but i have this error why ? i how fix it
Simple0x47 Posted February 7, 2016 Posted February 7, 2016 Can you explain better your problem? "Keep making it simplex."
crabby Posted February 7, 2016 Author 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)
ixjf Posted February 7, 2016 Posted February 7, 2016 Make sure you're using MTA 1.5.2. The implementation in older versions doesn't support the HTTPS protocol. I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
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