[SOLVED] Correct GET request string

Hello, I am a newbie. Please help me. Here is the page: https://admin.moralis.io/web3Api, from it I want to make a GET request (/{address}/nft/{token_address})
Can someone show me how a query string should look like?
I’m writing it in C# using .Core which is a common console application for Discord bot. If you can please tell me how a query string with type parameters should look like:
public static string reqNFT = "https://deep-index.moralis.io/api/v2/(and then I don’t understand what).
If you could show me how it looks like I could do it myself later on. Thank you very much!

Here is an example of what an etherscan query string looks like
public static string req = “https://api.etherscan.io/api” +
“?module=account” +
“&action=tokennfttx” +
“&contractaddress=CONTRACT_ADDRESS” +
“&address=ADDRESS” +
“&page=1” +
“&offset=100” +
“&startblock=0” +
“&endblock=27025780” +
“&sort=asc” +
I would like to properly compose an identical string using /{address}/nft/{token_address} in Moralis

In https://admin.moralis.io/web3Api go to the method you want to call, click in try It out, fill the required Fields and click in execute. It will show you how that particular http request needs to look like.


Friend/friend, you are a miracle worker. Thank you so much, I was so overwhelmed by all this that I didn’t even see the “execute” button !!!

1 Like