@partylich wrote:
I would suggest reading the docs on the fetch api. Specifically
MDN: Fetch
MDN: Response
MDN: Body.json()It looks like you’ve already got a handle on Promises (hopefully!); with that and the above knowledge you should have the tools to get your response into standard js types and work with it from there.