Created
May 3, 2018 13:19
-
-
Save ko31/2f52e23bc82a9c1403456163e65a0317 to your computer and use it in GitHub Desktop.
Language Translater API の疎通テスト用コマンド
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -u "{username}":"{password}" \ | |
-X POST \ | |
-H "Accept: application/json" \ | |
-d '{"text":"こんにちは","source":"ja","target":"en"}' \ | |
"https://gateway.watsonplatform.net/language-translator/api/v2/translate" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment