GET EchoAcceptLanguage

Echoes the client's "Accept-Language" header, in client-preference order.

This API is helpful if the client is a Javascript app running in a browser; it allows the app to find the user's language preferences configured within the browser. This API is also useful to "ping" the web service to ensure that it is up and running.

Response Information

Returns the list of languages in the client's "Accept-Language" header, in client-preference order.

Response type

CollectionResultModel<String>

Response body formats

application/json, text/json

Sample:
{
  "Count": 2,
  "TotalMatchingFilter": 2,
  "Items": [
    "en-US",
    "en"
  ]
}