You are right Mr. Sander.

The service is returning empty response.

I am reading to rectify that.

Thanks for your kind support.

Regards,
Partha

On Tuesday, 25 September 2018 09:51:24 UTC+5:30, Sander Elias wrote:
>
> Hi Partha,
>
> > The alerts I have placed are never fired.
>
> You mean the alerts in your first msg? If those are not fired, the 
> response from your node server is not reaching back your app. I just 
> noticed you are returning a 201. This might be the problem. Can you try 
> with a code 200?
> (BTW 201 means a successful creation, that's a strange response on a 
> delete...)
> Also, you should add an error-handling part in your service. checkout how 
> to handle errors in observables. hint the CatchError operator is your 
> friend.
>
> Regards
> Sander
>
>
>

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

Reply via email to