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

如何在Bowser上调用whatsmate翻译API?,api,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.

今天订阅了他们的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.