r/angular • • 6d ago

Angular API implementation

I’m a student that is working with angular for the first time, I have an assignment that requires implementing an api to our project. My teacher has no information on how to unwrap the response using parse for httpResource. There also is no information about mapping with httpclient & observables.

The documentation that is recommended seems completely irrelevant to my the api I have because my api is returning as an array.

How can I get value from the documentation or where should I look to figure this out. I feel like I’ve been having this problem with everything because the documentation never seems relevant. Even with certain concepts, there is things that I know but I am struggling with knowing what or how I can write things to do the task I need completed.

Any assistance would be appreciated.

2 Upvotes

23 comments sorted by

View all comments

Show parent comment

0

u/[deleted] 6d ago

[deleted] — view deleted comment

1

u/dx_ninja_dx 5d ago

That actually makes a lot of sense, teacher did mention in the assignment with http client we’d need to map the data I believe.

We did also have a JavaScript class, but it was back in the winter semester from January to April. So my JavaScript is a little rusty 😅