Adalo中外部API的问题
我制作了一个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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个问题可能是由于未正确从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.