Even I was facing similar kind of issue and the solution provided has
worked like a charm. Thanks for that.
On Wednesday, January 20, 2016 at 10:22:19 AM UTC+5:30, Adnan Salahuddin
wrote:
>
> if I removed map function and parameter in Subscribe then update (http put
> service) is working
>
>
Nice to hear that you solved the problem.
Regards,
*Luís Loureiro*
--
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 angular+unsubscr...@googlegroups.com.
To post
Never Mind! I got it
Thanks :)
On Wednesday, January 20, 2016 at 9:52:19 AM UTC+5, Adnan Salahuddin wrote:
>
> if I removed map function and parameter in Subscribe then update (http put
> service) is working
>
> this.http.put(window.location.href.split('#')[0] + 'api/vacancy/' + 2,
>
if I removed map function and parameter in Subscribe then update (http put
service) is working
this.http.put(window.location.href.split('#')[0] + 'api/vacancy/' + 2, JSON.
stringify(updateVacancyValue), { headers: headers }).subscribe();
I do not understand of any this.
On Tuesday, January
Hi Adnan!
I think this error might be related with JSON parsing, don't know if
*JSON.stringify(updateVacancyValue)* or *res.json()*.
You could try to *console.log* both to see if the error is in fact related
with JSON parsing.
Regards,
*Luís Loureiro*
--
You received this message because you