# 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/e53kl4a
【Go Web 開發】CORS 請求**
上一篇文章介紹 CORS 原理,現在讓我們對 API 服務做一些修改,放開同域策略,這樣 JavaScript 就可以從 API 接口讀取響應了。首先,最簡單的實現方法是在所有 API 響應中設置以下 header:Access-Control-Allow-Origin: Access-Control-Allow-Origin 響應頭用於指示瀏覽器可以與不同的域共享返回數據。在本例中,header ⌘ Read more