-
-
Notifications
You must be signed in to change notification settings - Fork 926
Custom sync server
ZHAO Xudong edited this page Dec 11, 2023
·
6 revisions
In electerm sync panel, other than use github or gitee secret gist, could use a custom service to sync electerm data:
- API url: your-custom-web-service-url
- jwt secret: your jwt secret to verify request and extract user id
- user id: custom user id
- method: PUT, should store request body json data, get user id from jwtData.id
- method: GET, should return stored electerm sync data as json, get user id from jwtData.id
- method: POST, should return "ok", only when successfully get user id from jwtData.id
Check example sync server apps: