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,
> JSON.stringify(updateVacancyValue), { headers: headers }).subscribe();
>
> I do not understand of any this.
>
>
> On Tuesday, January 19, 2016 at 9:08:36 PM UTC+5, Luís Loureiro wrote:
>>
>> 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 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.