[This is preliminary documentation and is subject to change.]

POST Translation

Demo ASPXCode-Behind
Enter some text for the language you want translated:
Results
Translating text is also available through Microsoft's Translator HTTP API. It is achieved through a web request POST method. The language to translate to and from needs to be included in your web request URL, while the text to be translated is extracted as plain text from the request body. In the example above you will see in the Code-Behind that the to and from languages have been hard coded as English to Spanish, this can be set dynamically through your own culture code parameters.
Try entering some English text in the box above and click the 'Translate Text' button. Your text will be sent to the HTTP API web service, translated to Spanish, and then displayed on the page for you. Once you have tried the demo, click the Code-Behind tab above to see exactly how this is achieved through C#.