Gravity Forms API 总是 401 [英] Gravity Forms API always 401
问题描述
我正在尝试使用重力形式 rest api,https://www.Gravityhelp.com/documentation/article/web-api/ 但无论我尝试什么,我都会收到 401 错误.我已经尝试使用文档和 Steven Henty 的文章中列出的所有方法,https://www.stevenhenty.com/gravity-forms-api/ 但它似乎不起作用.
I am trying to use the gravity forms rest api, https://www.gravityhelp.com/documentation/article/web-api/ but I receive a 401 error no matter what I try. I've tried using all the methods listed in the documentation and in Steven Henty's article, https://www.stevenhenty.com/gravity-forms-api/ but it doesn't seem to work.
如果我以管理员身份登录 wordpress 站点,我是否应该无法使用以下链接:
If I am logged into a wordpress site as administrator should I not be able to use a link like:
http://mydomain/gravityformsapi/forms/
感谢您的任何建议.
推荐答案
我的情况是我没有点击Web API"选项卡的更新按钮.
For mine case it was that I haven't clicked the update button "Web API" Tab.
确保您点击更新按钮,虽然它确实显示了 API 密钥,但您仍然必须点击更新按钮才能启用 API.
Make sure you click update button , although it does show the API Key's but still you have to click update button to enable API.
这篇关于Gravity Forms API 总是 401的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!