Skip to content

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

Screen Shot 2023-07-14 at 09 07 09

  • 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:

Clone this wiki locally