下列哪个选项符合Restful的API 设计?? POST /users/123/delete;|GET /deleteUser?id=123; ;;|DELETE /deleteUser/123;|DELETE /users/123;
举一反三
- 下列哪个选项符合Restful的API 设计? A: GET /deleteUser?id=123 B: POST /users/123/delete C: DELETE /deleteUser/123 D: DELETE /users/123
- 下列哪个选项符合RESTful设计? A: GET/user/1234 B: GET/users/1234/ C: GET/deleteUser/1234 D: GET/users?role=admin
- 下列哪个选项不符合RESTful设计? A: GET /users/1234 B: GET /deleteUser/1234 C: GET /users?role=admin D: GET /users?pageSize=25&pageStartIndex=50
- a与b定义如下,下列哪个选项输出结果为True() a=’123’ b=’123’ A: a!=b B: a==123 C: b==123 D: a+b==‘123123’
- 下列哪种方法可以将"123"转换成整数123 A: (int)"123" B: Integer.parseInt("123") C: new Integer("123").intValue(); D: "123"-"0"