Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

198
Views
Invalid JSON primitive error while passing data from angular to .net API

I have a backend api where we send a request payload containing JSON data and it returns an excel file. When i try to send the data, in the network tab in request payload the JSON array is like

{"data":[{ JSON ARRAY ]}}

In my other API "data" is not there in any JSON array. How can i remove this?

ExcelReportDownload(data:any): Observable<any> {
        return this.http.post<any>(this.baseURL + 'ExcelExport/ExcelExport/' , {data});
    }

This it the API

`

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!