如何判斷記錄是否存在? 2022 年 11 月 14 日 By Rob Blackburn a 如何判斷記錄是否存在? 使用 cURL 搜索用戶,如下所示: curl -iL https://orcid.org/0000-0000-0000-0000 即使用戶返回 200 並不 存在。 為避免這種情況,請在通話中使用內容協商,如下所示: curl -iL -H 'Accept: application/xml' https://orcid.org/0000-0000-0000-0000 永久鏈接