Yandex Translator API v2 wasn't working. This PR fixes that. Part of the problem was that the API accepts JSON (as i think), so now if any engine sets Content-Type header equal to "application/json", curl will create a request with a valid JSON body instead of passing data as plain parameters.
Yandex Translator API v2 wasn't working. This PR fixes that. Part of the problem was that the API accepts JSON (as i think), so now if any engine sets Content-Type header equal to "application/json", curl will create a request with a valid JSON body instead of passing data as plain parameters.