Looks like this is the appropriate answer:
postRequest(id) {
this.http.post('/api?data=" + id, null).map(
(response) => {
return response;
}
)
}
Looks like this is the appropriate answer:
postRequest(id) {
this.http.post('/api?data=" + id, null).map(
(response) => {
return response;
}
)
}