Skip to content

Commit e86a9b4

Browse files
Merge pull request #273790 from laujan/patch-6
Update transliterate-text-parameters.md
2 parents dbbdb1c + 6b447e1 commit e86a9b4

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

articles/ai-services/translator/containers/transliterate-text-parameters.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -102,29 +102,13 @@ The following limitations apply:
102102
]
103103
```
104104

105-
## Code samples: transliterate text
106-
107105
> [!NOTE]
108106
>
109107
> * Each sample runs on the `localhost` that you specified with the `docker run` command.
110108
> * While your container is running, `localhost` points to the container itself.
111109
> * You don't have to use `localhost:5000`. You can use any port that is not already in use in your host environment.
112110
> To specify a port, use the `-p` option.
113111
114-
### Transliterate with REST API
115-
116-
```rest
117-
118-
POST https://api.cognitive.microsofttranslator.com/transliterate?api-version=3.0&language=ja&fromScript=Jpan&toScript=Latn HTTP/1.1
119-
Ocp-Apim-Subscription-Key: ba6c4278a6c0412da1d8015ef9930d44
120-
Content-Type: application/json
121-
122-
[
123-
{"Text":"こんにちは"},
124-
{"Text":"さようなら"}
125-
]
126-
```
127-
128112
## Next Steps
129113

130114
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)