- BIT101 API总览
- 用户模块
- 上传模块
- 交互反馈模块
- 文章模块
- 教务模块
- 课程模块
- 变量模块
- 消息模块
- 话廊模块
- 治理模块
- 学校教务接口
- 订阅模块
关注
开发中
POST
/user/follow/{uid}
请求参数
Path 参数
uid
integer
必需
示例值:
2
Header 参数
fake-cookie
string
必需
示例值:
{{fake_cookie}}
Body 参数application/json
object {0}
示例
{}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://bit101.flwfdd.xyz/user/follow/2' \
--header 'fake-cookie: {{fake_cookie}}' \
--header 'Content-Type: application/json' \
--data-raw '{}'
返回响应
🟢200成功
application/json
Body
following
boolean
是否被我关注
follower
boolean