Woocom Rest API Slug 在正确的 Slug 上返回 403
Woocom Rest API Slug Returning 403 on Correct Slug
我在这个 slug 上收到 403 错误,知道为什么吗?
https://TheSite/wp-json/wc/reports?period=week&consumer_key=xxxxxxx&consumer_secret=xxxxx
我是不是漏掉了什么?
您缺少 Slug 中的版本
// V2 / v1 /v3 Depending on what you need
https://TheSite/wp-json/wc/v3/reports?period=week&consumer_key=xxxxxxx&consumer_secret=xxxxx
我在这个 slug 上收到 403 错误,知道为什么吗?
https://TheSite/wp-json/wc/reports?period=week&consumer_key=xxxxxxx&consumer_secret=xxxxx
我是不是漏掉了什么?
您缺少 Slug 中的版本
// V2 / v1 /v3 Depending on what you need
https://TheSite/wp-json/wc/v3/reports?period=week&consumer_key=xxxxxxx&consumer_secret=xxxxx