[RM-32665]: <TBCF> แก้ไข Bookdose ดึง API ไม่ได้ (Cloudflare blocked)

Viewed 0

Problem Summary

From Redmine:

Root Cause Analysis

Cloudflare blocked

1 Answers

Solution / Workaround

เพิ่ม custom rules

(http.cookie eq "_tempad_code=punsarn:Ihlc0bD3mbuUtVZngSYigrHHbKPe03M4" and http.host eq "library.thaibf.com" and http.request.uri.path wildcard r"/rest/*")

Verification Steps

curl -s -H "Cookie: _tempad_code=punsarn:Ihlc0bD3mbuUtVZngSYigrHHbKPe03M4" "https://library.thaibf.com/rest/items?limit=1" | jq
Related