Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/user/:username/collection 在用户不存在时返回了 HTML #26

Closed
yejingchen opened this issue Apr 21, 2018 · 2 comments
Closed

/user/:username/collection 在用户不存在时返回了 HTML #26

yejingchen opened this issue Apr 21, 2018 · 2 comments
Assignees

Comments

@yejingchen
Copy link

yejingchen commented Apr 21, 2018

比如 https://api.bgm.tv/user/yingchen/collection?cat=watching 返回的是 HTML 的 404 页面,而不是一个 json。虽然硬着头皮写也能处理,但 API 不应该返回 html 吧
/user/:username/collection/:subject_type 也是一样的情况

@markni
Copy link

markni commented May 11, 2018

/user/:username/collection 缺少cat时也会返回空白 html

@Sai
Copy link
Member

Sai commented Jun 5, 2018

Fixed

@Sai Sai closed this as completed Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants