Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Thanks for response. Sorry, But I have different methods like the post, get etc.. So anyway I need to separate that code. Commented Dec 7, 2017 at 8:14
  • @Libu Mathew, in your code I can't see the different methods :( Commented Dec 7, 2017 at 8:18
  • Yes. But I need all these cases. That's why I separated code. Commented Dec 7, 2017 at 8:26
  • you can make a "request" instead of "post" or add a "get" method in the Service Commented Dec 7, 2017 at 8:29
  • Yes I did like that. Commented Dec 7, 2017 at 8:30