Hi,
I am new angular 2.

Here is i am using Htttp put service.

    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); 

I am getting error message in console (Google Chrome) and it says :

*EXCEPTION: SyntaxError: Unexpected end of input*
>

how do i fix it?
I am waiting for your response. Thanks 

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to