I've created a function in my service that looks like this:
/**
* Retrieve all data
* @param sendSelectedValues string
*/
getAllActPlanBalanceYearData(sendSelectedValues: any): Observable<any> {
const url = `/yearlyvalues/act-and-plan-balance`;
return this.http.get<any>(`${environment.baseUrl}` + url);
}
I'm wondering how to include the sendSelectedValues in the body of the GET request. It's easy to do with POST and PATCH, but I haven't figured out how to do it with GET yet. Can anyone provide some assistance?