Adalo中外部API的问题

发布于 2025-02-07 03:20:19 字数 166 浏览 0 评论 0原文

我制作了一个C#API,将数据插入和更新SQL Server中。我已经用Postman测试了此API,并且有效。我在Adalo的自定义操作中介绍了此API,并与示例数据一起使用。当我从单击按钮的单击中调用自定义操作时,即使使用了以前有效的示例数据,API即使使用500个内部服务器错误也无效。我不明白这可能取决于什么。

I made a C# API that inserts and updates data in SQL server. I have tested this API with Postman and it works. I introduced this API in a custom action in ADALO and it works with the sample data. When I call the custom action from the click of a button, the API does not work giving a 500 internal server error, even if using the same example data that worked previously. I cannot understand what this could depend on.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风为裳 2025-02-14 03:20:19

这个问题可能是由于未正确从Adalo传递到API的身份验证凭证。确保在Adalo的API调用中正确发送了身份验证所需的标题或令牌。仔细检查Adalo中使用的API端点URL,标题和身份验证方法,以确保它们与Postman中工作的设置相匹配。

This issue could be due to the authentication credentials not being passed correctly from ADALO to the API. Make sure that the headers or tokens required for authentication are being sent properly in the API call from ADALO. Double check the API endpoint URL, headers, and authentication method being used in ADALO to ensure they match the setup that was working in Postman.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文