this.http.put(window.location.href.split('#')[0] + 'api/vacancy/' + 2, JSON.stringify(updateVacancyValue), { headers: headers }).map(res => res.json()).subscribe(vacancy => this.vacancy = vacancy); EXCEPTION: SyntaxError: Unexpected end of input
this.http.put(window.location.href.split('#')[0] + 'api/vacancy/' + 2, JSON.stringify(updateVacancyValue), { headers: headers }).subscribe();