BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
thank you for the response. the problem was in the fact that the api was asynchronis and i had to add:
async-upload="true"
i have included my test project, the problem i have now is that files list remain empty, what changes do i need to make to api controller
public void ConfigureServices(IServiceCollection services)
{
// Add framework services.
services.AddMvc();
services.AddCors(o => o.AddPolicy("MyPolicy", builder =>
{
builder.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader();
}));
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
loggerFactory.AddConsole(Configuration.GetSection("Logging"));
loggerFactory.AddDebug();
app.UseCors("MyPolicy"); // applying to every requests
app.UseMvc();
} |
that did the trick, thank you.