# E-Menu API 員工資料同步 | 名稱 | 內容 | | -------- | -------- | | URL | http://{{host}}/api/console/syncUsers | | Method | PUT | | ContentType | application/json | | 說明 | 將資料庫的員工資料清空並寫入新的資料 | 測試用主機:202.153.191.243:8080 ## 請求內容示例: ``` [ { "username": "teco", "password": "123456", "name": "Teco" }, { "username": "teco2", "password": "123456", "name": "Teco2" } ] ``` ## 返回示例: 無 ## 錯誤示例: ``` { "message" : "帳號重覆新增" } ``` 備註:Http response status 不是200 or 204,則表示錯誤
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up