问题描述
我是 Etsy API 开发的新手,我已经坚持了好几天。我尝试通过文档查找一些资源,以便我可以进行简单的 API 调用(我计划将其转换为代码,但我想通过 Postman 让它运行以查看它是否有效)。
如果这不是正确的平台,请告诉我,我应该在哪里发布?提前致谢。
文档链接:https://developers.etsy.com/documentation/reference
解决方法
https://developers.etsy.com/documentation/essentials/oauth2
步骤:
-
现在通过编辑应用添加回调 URL:https://www.etsy.com/developers/your-apps,转到此处并单击应用名称,然后向下滚动并编辑回调 URL:
并添加以下网址:https://oauth.pstmn.io/v1/callback
- 现在添加以下信息:
Token Name : any name
Grant Type: Authorization COde PKE
Callback URL : https://oauth.pstmn.io/v1/callback ( keep authroize using browser unchecked)
auth url: https://www.etsy.com/oauth/connect
Access Token URL: https://api.etsy.com/v3/public/oauth/token
Client ID: Your appi KEYSTRING
Client Secret: YOUR app secret
Code Challenge Method: SHA256
Code Verifier: leave blank
Scope: scope eg: transactions_r
State: superstate
秘密和密钥串:
最终配置: