差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 | |||
java:web:restapi:http_method_cant_make_sense [2020/12/08 00:33] tony |
java:web:restapi:http_method_cant_make_sense [2021/03/09 21:54] tony [Threat the P/N action as a store resource or use PATCH?] |
||
---|---|---|---|
行 186: | 行 186: | ||
file.locked = Boolean.parseBoolean(updateFile.locked); | file.locked = Boolean.parseBoolean(updateFile.locked); | ||
if( updateFile.name != null ) | if( updateFile.name != null ) | ||
- | file.name = updateFile.name; | + | file.name = updateFile.name; |
return new ResponseEntity<String>("good", HttpStatus.OK); | return new ResponseEntity<String>("good", HttpStatus.OK); | ||
} | } |