--- tags: Work --- # Config API ( Client ) 關於新增、上傳遊戲 Config & File API send data example: - 新增遊戲上傳 Zip 檔 http://192.168.43.196:5000/Add ```javascript= formData ``` --- - 新增遊戲設定 ( 新增遊戲時有修改 Config 的傳送 data ) http://192.168.43.196:5000/Conf ```javascript= body = { gamename: "12344", config: [{ GAcolumn: "abc", value: true}, { GAcolumn: "134", value: "apple" }] } ``` --- - 修改遊戲設定 http://192.168.43.196:5000/Conf ```javascript= body = { gamename: 'Test', config: [ { gameid: null, dictionary: null, gAcolumn: 'control-proto', defaultValue: null, newValue: 'udp', id: 40, gamename: 'Test' } ] } ```