如何在Bowser上调用whatsmate翻译API?

时间:2017-05-29 04:20:07

标签: api

今天

订阅了他们的API,我想知道如何在浏览器上调用他们的API 他们已经提供了这个,我尝试了很多,但我没有得到任何东西

请参阅其API参考https://whatsmate.github.io/api-reference/

  
    Translation Endpoints
1. Translate text
Endpoint: POST /v1/translation/translate
Parameters required in JSON payload:
fromLang: String. The code representing the language of the supplied text.
toLang: String. The code representing the language you want the text to be translated to.
text: String. The piece of text you want to be translated.
List of language codes: See the next endpoint.
Response: String. The translated text.
  

0 个答案:

没有答案