thank you @Yomoo. i am not receiving any error message and I am receiving the following output:
Response {type: 'cors', url: 'https://feciihxhdokr.usemoralis.com:2053/server/fu…=ePc0HyzXQdJ3ytVt8J4zhNDWS0WCFSANX6z87xIC&nftId=0', redirected: false, status: 200, ok: true, …}body: (...)bodyUsed: falseheaders: Headers {}ok: trueredirected: falsestatus: 200statusText: ""type: "cors"url: "https://feciihxhdokr.usemoralis.com:2053/server/functions/getNFT?_ApplicationId=ePc0HyzXQdJ3ytVt8J4zhNDWS0WCFSANX6z87xIC&nftId=0"[[Prototype]]: Response
I am trying now to parse the result in a JSON format, similar as shown in the tutorial “Ultimate NFT Programming Tutorial -FULL COURSE” if I execute:
.then(res => console.log(res))
it works. as soon as I am executing:
//.then(res => res.json())
//.then(res => JSON.parse(res.result))
I am getting an error, empty result. Can you please provide me with a work around? It is in the video in min 110, 111.