Response
{"exception":"UriFormatException","message":"Invalid URI: The format of the URI could not be determined.","helpLink":null,"data":{},"source":"System.Private.Uri","stackTrace":" at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)\n at System.Uri..ctor(String uriString)\n at Redsand.Site.Services.CampaignService.IncludeQueryParams(String url, String[] allowedParams) in D:\\Nobi\\NobiV2\\Services\\CampaignService.cs:line 67\n at Redsand.Site.Services.CampaignService.RegisterByFormAsync(String url, OptinForm form, Boolean isLink, Nullable`1 currentBranchId, String nameCp) in D:\\Nobi\\NobiV2\\Services\\CampaignService.cs:line 239\n at Redsand.Site.Api.CustomerController.CreateByOptinForm(Int32 id, CustomerRequestBody body) in D:\\Nobi\\NobiV2\\Api\\Customer\\CustomerController.cs:line 1117\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)","inner":null}
Params
Headers
{"Content-Type":"application/json"}
Body
{"model":{"FullName":"Trần Quốc Huy","Phone":"0947604480"},"metas":[{"value":"[\"Xe tải nhỏ\"]","id":10},{"value":"500kg","id":4},{"value":"Mã Đà","id":9},{"value":"[\"Chạy theo yêu cầu\"]","id":11},{"value":"chở hàng giao khu vực Đồng Nai bằng xe bán tải, thời gian linh hoạt","id":8}],"queryString":{"link":"https%3A%2F%2Fghephang.com%2Ftai-xe&","https://ghephang.com/tai-xe":""}}