diff --git a/system/Tnb.Systems/System/DataInterfaceService.cs b/system/Tnb.Systems/System/DataInterfaceService.cs index 91a451b7..b1d66fc8 100644 --- a/system/Tnb.Systems/System/DataInterfaceService.cs +++ b/system/Tnb.Systems/System/DataInterfaceService.cs @@ -325,6 +325,10 @@ public class DataInterfaceService : IDataInterfaceService, IDynamicApiController { dicParameters = input.paramList.ToDictionary(x => x.field, y => y.defaultValue); } + if (!string.IsNullOrEmpty(info.Path) && !info.Path.StartsWith("http")) + { + info.Path = $"{App.HttpContext.Request.Scheme}://{App.HttpContext.Request.Host}{info.Path}"; + } VerifyRequired(info, dicParameters); ReplaceParameterValue(info, dicParameters); if (info?.DataType == 1)