I think the C# HttpGet TEMPLATE is what I am missing, but here’s the details. On the Angular front end:
let params = new HttpParams()
.append('GDWarn', values[0].toString())
.append('GDLimit', values[1].toString())
.append('NDWarn', values[2].toString())
.append('NDLimit', values[3].toString())
let url = `${this.url}/CalibrationModelFile/UpdateLimits/${this.networkID}/${constID}/{params}`
Here I assume this.http.get(url, … will do some magic to recognize HttpParams is a set of QUERY parameters.
So the C# backend to receive the http request:
[HttpGet("CalibrationModelFile/UpdateLimits/{networkID:int}/{ConstituentID:int}/{values}")]
public async Task UpdateConstituentLimits(int networkID, int ConstituentID, [FromQuery] double[,] values)
I think the [FromQuery] may be right, but NOT enough. The {values] in the template probably should have something so we know it's QUERY PARMS?
Any thoughts?
Thanks in Advance, Yogi