I am unable to send "id" in following scenario.
Ex: url=somedomain/{id}/emp
For this I set the url in proxy.config.json file as
"/employee": {
"target":"somedomain",
"secure":false,
"pathReWrite: {
"/employee":""
}
}
Now in the Angular Service file I am calling as
this.http.post(`http://localhost:4200/employee/{id}/emp`);
in this case the total url is replaced with /employee only. But I want to send "id" dynamically through proxy.config.js file. Could you please help me out how to resolve this issue? Thanks in advance.