v1/gateway/{gatewayName} REST API Endpoint
경로 매개변수
gatewayName
문자열
필수
로딩 중...
반품
id
정수
로딩 중...
uuid
문자열
로딩 중...
createdAt
문자열
로딩 중...
updatedAt
문자열
로딩 중...
이름
문자열
로딩 중...
도메인
문자열
로딩 중...
상태
문자열
로딩 중...
isPrivate
부울
로딩 중...
isEnabled
부울
로딩 중...
요청
1curl --location --request GET 'https://api.quicknode.com/ipfs/rest/v1/gateway/{gatewayName}' \2--header 'x-api-key: YOUR_API_KEY'
1curl --location --request GET 'https://api.quicknode.com/ipfs/rest/v1/gateway/{gatewayName}' \2--header 'x-api-key: YOUR_API_KEY'
1var myHeaders = new Headers();2myHeaders.추가("x-api-key", "YOUR_API_KEY");34var requestOptions = {5method: 'GET',6헤더: myHeaders,7리디렉션: 'follow'8};910fetch("https://api.quicknode.com/ipfs/rest/v1/gateway/{gatewayName}", requestOptions)11.그런 다음(응답 => response.text())12.그런 다음(결과 => console.log(result))13.catch(오류 => console.log('error', error));14
1var myHeaders = new Headers();2myHeaders.추가("x-api-key", "YOUR_API_KEY");34var requestOptions = {5method: 'GET',6헤더: myHeaders,7리디렉션: 'follow'8};910fetch("https://api.quicknode.com/ipfs/rest/v1/gateway/{gatewayName}", requestOptions)11.그런 다음(응답 => response.text())12.그런 다음(결과 => console.log(result))13.catch(오류 => console.log('error', error));14
1import 요청23url = "https://api.quicknode.com/ipfs/rest/v1/gateway/{gatewayName}"45페이로드 = {}6헤더 = {7'x-api-key': 'YOUR_API_KEY'8}910답변 = 요청.요청("GET", url, 헤더=헤더, data=페이로드)1112인쇄(응답.text)13
1import 요청23url = "https://api.quicknode.com/ipfs/rest/v1/gateway/{gatewayName}"45페이로드 = {}6헤더 = {7'x-api-key': 'YOUR_API_KEY'8}910답변 = 요청.요청("GET", url, 헤더=헤더, data=페이로드)1112인쇄(응답.text)13
1require "uri"2require "net/http"34url = URI("https://api.quicknode.com/ipfs/rest/v1/gateway/{gatewayName}")56https = Net::HTTP.new(url.호스트, url.포트)7https.use_ssl = true89요청 = 순::HTTP::Get.new(url)10요청["x-api-key"] = "YOUR_API_KEY"1112답변 = https.요청(요청)13응답을 넣습니다.read_body14
1require "uri"2require "net/http"34url = URI("https://api.quicknode.com/ipfs/rest/v1/gateway/{gatewayName}")56https = Net::HTTP.new(url.호스트, url.포트)7https.use_ssl = true89요청 = 순::HTTP::Get.new(url)10요청["x-api-key"] = "YOUR_API_KEY"1112답변 = https.요청(요청)13응답을 넣습니다.read_body14