I have a get request that requires passing some data, how do I do that in my service:
private campaignUrl = environment.apiUrl + '/campaign/';
constructor(private http: HttpRequestService) { }
getCampaign(uuid) {
return this.http.post(this.campaignUrl);
}
I need to pass the id after campaignUrl, and this is my api url in swagger:
/api/campaign/{uuid}/