v1/s3/get-object/{requestId} REST API Endpoint
路徑參數
requestId
字串
必填
載入中...
退貨
結果
字串
載入中...
請求
1curl --location 'https://api.quicknode.com/ipfs/rest/v1/s3/get-object/{requestId}' \2--header 'x-api-key: YOUR_API_KEY'
1curl --location 'https://api.quicknode.com/ipfs/rest/v1/s3/get-object/{requestId}' \2--header 'x-api-key: YOUR_API_KEY'
1var myHeaders = new Headers();2myHeaders.append("x-api-key", "YOUR_API_KEY");34var requestOptions = {5method: 'GET',6標題: myHeaders,7重定向: '追蹤'8};910fetch("https://api.quicknode.com/ipfs/rest/v1/s3/get-object/{requestId}", requestOptions)11.接著(回應 => response.text())12.接著(結果 => 控制台.log(結果))13.catchcatch(錯誤 => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.append("x-api-key", "YOUR_API_KEY");34var requestOptions = {5method: 'GET',6標題: myHeaders,7重定向: '追蹤'8};910fetch("https://api.quicknode.com/ipfs/rest/v1/s3/get-object/{requestId}", requestOptions)11.接著(回應 => response.text())12.接著(結果 => 控制台.log(結果))13.catchcatch(錯誤 => console.log('error', error));
1匯入 請求23url = "https://api.quicknode.com/ipfs/rest/v1/s3/get-object/{requestId}"45有效載荷 = {}6標題 = {7'x-api-key': 'YOUR_API_KEY'8}910回應 = 請求.請求("GET", url, headers=headers, data=有效載荷)1112列印(回應.text)13
1匯入 請求23url = "https://api.quicknode.com/ipfs/rest/v1/s3/get-object/{requestId}"45有效載荷 = {}6標題 = {7'x-api-key': 'YOUR_API_KEY'8}910回應 = 請求.請求("GET", url, headers=headers, data=有效載荷)1112列印(回應.text)13
1需要 "uri"2需要 "net/http"34url = URI("https://api.quicknode.com/ipfs/rest/v1/s3/get-object/{requestId}")56https = 網::HTTP.new(url.主機, 網址.port)7https.use_ssl = true89請求 = 淨額::HTTP::Get.new(url)10request["x-api-key"] = "YOUR_API_KEY"1112回應 = https.請求(請求)13puts 回應。read_body14
1需要 "uri"2需要 "net/http"34url = URI("https://api.quicknode.com/ipfs/rest/v1/s3/get-object/{requestId}")56https = 網::HTTP.new(url.主機, 網址.port)7https.use_ssl = true89請求 = 淨額::HTTP::Get.new(url)10request["x-api-key"] = "YOUR_API_KEY"1112回應 = https.請求(請求)13puts 回應。read_body14