# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/elgak4a
【Go Web 開發】認證請求**
上一篇文章實現了客戶端通過發送認證信息獲得身份驗證 token,那麼讓我們看看如何使用該 token 來驗證用戶,實現服務端準確地知道請求來自哪個用戶。本質上,一旦客戶端有了一個認證 token,後續訪問 API 服務時後端服務將從客戶端 Authorization 請求頭中獲取 token,像這樣: Authorization: Bearer IEYZQUBEMPPAKPOAWTPV6YJ6RM ⌘ Read more