接口列表
GET
/api/getData
https://www.hxstrive.com/api/getData
- [可选] findStr - 查询条件,根据该参数模糊查询title和body两个字段
- [可选] userId - 用户ID
GET
/api/{userId}/getData
https://www.hxstrive.com/api/{userId}/getData
- userId - 用户ID
POST
/api/postData
https://www.hxstrive.com/api/postData
PUT
/api/putData
https://www.hxstrive.com/api/putData
DELETE
/api/deleteData
https://www.hxstrive.com/api/deleteData
- userId - 待删除用户的ID
DELETE
/api/deleteData/{userId}
https://www.hxstrive.com/api/deleteData/{userId}
- {userId} - 待删除用户的ID