Issue
enter image description here angular16 httpclient
How could I format the data before returning it? This has been confusing me.
I tried to use "subscribe" "map" but it did not working.
Or am I doing wrong? what should I do if I want to put the data that from a server into a component?
I expect a lifesaver.
Solution
you need to pipe(map(...))
, not to subscribe.
Answered By - C.Y.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.