null
> npm install
- Start-up
> node app.js
Use POST method to access API, and the return data is in JSON format
http://127.0.0.1:3000/enc
- Content-type: application/json
{
"t": {
"id": [1, 199, 0, 123456],
"device": "[\"device\",\"device\"]",
"ets": "ets",
"benchmark": "secret_key",
"time": "heartbeat_interval",
"ts": "ts",
"ua": "ua"
},
"r": [2, 5, 1, 4]
}
- Success
{"s": "be02e0ac4248ff3e59bea681258319bec489db3b5766eb0d40ce25516889c6df2bb8383c16d8a9bbb3ced7283388fb4df89718430064564bfaf6be246b983910"}
- Error
{"code": -1, "msg": "405 Method Not Allowed"}
The project is for study and technical communication only, do not use it for illegal purposes!
I don"t take any responsibility if legal dispute occurs.
GPL v3