简体   繁体   English

mendix Swagger REST UAT/PROD 中的 Web 服务

[英]mendix Swagger REST Webservice in UAT/PROD

Hi I am working on the mendix rest webservices and through swagger, i can test the local host data all right.您好,我正在处理 mendix rest 网络服务,通过 swagger,我可以测试本地主机数据。 But when i promote objects to acceptance, i need to update the webservice seurity to 'Requires authentication'.但是当我将对象提升为接受时,我需要将 web 服务安全性更新为“需要身份验证”。 This would need username and password.这需要用户名和密码。

when the webservices are in the UAT, it fails to autheticate the request当 web 服务在 UAT 中时,它无法验证请求在此处输入图像描述 as below shown.如下图所示。 Can you please help if you have a solution in this situation?如果您在这种情况下有解决方案,您能帮忙吗? thanks谢谢

This could be due to the Path based access restrictions in your cloud environment.这可能是由于您的云环境中基于路径的访问限制。 Allow all access to the appropriate paths as below to verify your endpoints.允许对以下适当路径的所有访问以验证您的端点。

在此处输入图像描述

Restart your application after applying the changes.应用更改后重新启动您的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM