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

Check all the error return code. #156

Open
chhsiao1981 opened this issue Mar 9, 2021 · 0 comments
Open

Check all the error return code. #156

chhsiao1981 opened this issue Mar 9, 2021 · 0 comments
Labels

Comments

@chhsiao1981
Copy link
Collaborator

Provide the github link(s) of the file#line (請提供 github 關於 code 的 link)

https://github.com/Ptt-official-app/go-openbbsmiddleware/tree/main/api

What would you like to discuss (你想要討論什麼呢?~)

Currently all the 400+ return code are assigned arbitrarily~
Need to check the appropriate return-code.

  1. not-permitted => 403 (create-article)
  2. https://api.devptt.site:3457/api/board/10_WhoAmI/article/WFSrHASF (should be 404)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant