change POST data format
fix data type
fix routing path
change deviceID to string