C
C
cb77772020-11-19 10:50:20
Angular
cb7777, 2020-11-19 10:50:20

How to pass data to another asp.core mvc site?

Good afternoon, there are 2 client applications:

  1. Angular for Data Displays
  2. Asp core Mvc for displaying reports in Fast Report


How to pass data in JSON format from Angular to MVC for further report generation?
openFastReport() {
    let data = JSON.stringify(this.dataMainTable)
     window.open(`${environment.fastReportUrl}/report?order=${data }`);
}

With such a request, the site displays an error that the URL is long.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2020-11-19
@vabka

If the data for the report is on the server, then you can send some report id

V
Vladimir Korotenko, 2020-11-19
@firedragon

Do it via post, I hope 20 megabytes is enough for you

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question