1. Home
  2. Docs
  3. HTTP API of Decoders
  4. 12 MsgCode module

12 MsgCode module

Gain wrong encoding information

API instruction

gain the abnormal text informaion from all wrong encoding returned back fromt he interface.

Request

  • Method: GET/POST
  • URL: MsgCode/get.json
  • Headers:
  • submit parameter: no

Response

  • Body
{
  "result": "ok",
  "data": {
    "1000": {
      "en": "Invalid request parameters",
      "zh": "Invalid request parameter "
    },
    "1001": {
      "en": "Unable to connect to coding service",
      "zh": "Unable to connect to encoding service"
    }
  }
}

test interface:

http://192.168.2.123/api/MsgCode/get.json

How can we help?