var axios =require('axios');var data =JSON.stringify({"ERCStandard":"ERC721","chainId":"80001","collectionDescription":"This is NFT collection description","collectionImage":"Base64 of the Image"',"collectionName": "collectionName","collectionSymbol":"collectionSymbol","custodialWalletAccessToken":"xxxxx-xxxx-xxxx-xxxx-xxxxxxxx","isSoulBound":false,"walletType":"non-custodial"});var config = { method:'post', url:'https://api.krypcore.com/api/v0/easy-nft/createNFTCollection', headers: { 'Authorization':'xxxxxxxxxxxxxxxxxx','DappId':'xxxxxxxxxxxxxxxxxx','Content-Type':'application/json' }, data : data};axios(config).then(function (response) {console.log(JSON.stringify(response.data));}).catch(function (error) {console.log(error);});
import requestsimport jsonurl ="https://api.krypcore.com/api/v0/easy-nft/createNFTCollection"payload = json.dumps({"ERCStandard": "ERC721","chainId": "80001","collectionDescription": "This is NFT collection description","collectionImage": "Base64 of the Image","collectionName": "collectionName","collectionSymbol": "collectionSymbol","custodialWalletAccessToken":"xxxxx-xxxx-xxxx-xxxx-xxxxxxxx","isSoulBound": False,"walletType": "non-custodial"})headers ={'Authorization':'xxxxxxxxxxxxxxxxxx','DappId':'xxxxxxxxxxxxxxxxxx','Content-Type':'application/json'}response = requests.request("POST", url, headers=headers, data=payload)print(response.text)