Closed y2468101216 closed 3 years ago
不放入 Access Token 的情況下 GET /v1/users/SYSOP/articles 看到了 item = null
不放入 Access Token 的情況下 GET /v1/users/SYSOP/articles 不應該看到任何文章,應該要看到 error 元素
應該要出現錯誤訊息
{ "error": "permission_error", "error_description": "no permission" }
另外要出現 403 的 HTTP Status
windows 10 golang1.16
在 testcase 2021060401 中的 C5-1-1 測試項目中發現有問題
C5-1-1 是 boards 不是 users, 我這邊搞錯了,所以關掉這個
發生了什麼事? / The Problem
不放入 Access Token 的情況下 GET /v1/users/SYSOP/articles 看到了 item = null
如何重現 / To Reproduce
不放入 Access Token 的情況下 GET /v1/users/SYSOP/articles 看到了 item = null
預期的行為 / Expected behavior
不放入 Access Token 的情況下 GET /v1/users/SYSOP/articles 不應該看到任何文章,應該要看到 error 元素
應該要出現錯誤訊息
另外要出現 403 的 HTTP Status
螢幕截圖 / Screenshots
開發環境 / Environment
windows 10 golang1.16