Telerik Forums
Report Server Forum
1 answer
78 views

what am i doing wrong,

trying  to post to the UploadReport model report /api/reportserver/v2/reports

 

@{ "ModelState"= @{
                "Name"="rpt1";
                "Description"="uploaded on $(Get-Date -DisplayHint Date)";
                "CategoryId"="$($catId)"; 
                "ReportFile"=@{ 
                    "Name"="rpt1"; 
                    "FileName"="c:\x\rpt1.trdp";
                    "MediaType"="application/x-zip-compressed";
                    "Buffer"="[System.IO.File]::ReadAllBytes( "c:\x\rpt1.trdp" ) )"  }

      }

}

{"Message":"The request is invalid.","ModelState":{"model.Name":["The Name field is required."],"model.CategoryId":["The CategoryId field is
     | required."],"model.ReportFile":["The ReportFile field is required."]}}
Todor
Telerik team
 answered on 10 Aug 2023
1 answer
208 views

Hi Telerik

We have report with database connection string is parameter. We are using Angular + Asp.net core rest api and telerik reporting view.

So when i sending my sensitive parameters to trdp i don't want to send clear text data. Instead of this is it possible to send encrypted data to asp.net core rest api and decrypt these parameters then send them to the trdp reports??

there is no any sample to access and change the parameters on rest api layer

Do you have any suggession ? 

 

Thanks

Dimitar
Telerik team
 answered on 01 Aug 2022
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?