Nestjs how sent requests to moralis from my back-end part of the app?

What were you trying to do there?

I trying to do it at vs code

Task looks something like that -
Send requests from my beckend to Moralis and get response about NFTs/user ( for example ) and render this links at the front end part
so when user click the link he could get image of NFT
But I should correctly build backend part for this ))

if you want you can also connect directly from your backend to your Moralis server mongo db

this works in nodejs:

x = async () => {
    const  Moralis = require('moralis/node')
    await Moralis.start({ serverUrl: "https://afasdfasdf:2053/server", appId: "asgsdgsg" });

    price = await Moralis.Web3API.token.getTokenPrice({address: "0xe9e7cea3dedca5984780bafc599bd69add087d56", chain: "bsc"})


Thanks a lot )
I ll try =)

now I am trying to get an answer from the service but I came across such an error - (I am using nestjs and typescript )

you could try with my code, maybe it returns an error for those parameters
you could also try to catch the error

I mean only the line with the web3api call

I got an NFT of some user but when I try to click the link i get this - ( I want to see a picture of nft when I follow the link from a return but I get this answer)

I see that you can get the NFT data, you have there token_uri and also metadata

how did you get to that opensea url?

I just open token_uri =)

is it correct way or I should add something to the token_uri?

usually you have a json on token_uri and not an image, and in that json you could find a link to an image

but when I click token_uri it replaces me to the page -