perpConciseAnnotations Info Endpoint Method
매개변수
유형
문자열
필수
로딩 중...
반품
배열
배열
로딩 중...
동전
문자열
로딩 중...
annotation
객체
로딩 중...
category
문자열
로딩 중...
displayName
문자열
로딩 중...
keywords
배열
로딩 중...
요청
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"perpConciseAnnotations"}'5
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"perpConciseAnnotations"}'5
1var myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "perpConciseAnnotations"6});78var requestOptions = {9메서드: 'POST',10헤더: myHeaders,11본문: raw,12리디렉션: 'follow'13};1415가져오기("mainnet", requestOptions)16.그런 다음(응답 => 응답.text())17.그런 다음(결과 => console.log(result))18.catchcatch (오류 => console.log('error', error));19
1var myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "perpConciseAnnotations"6});78var requestOptions = {9메서드: 'POST',10헤더: myHeaders,11본문: raw,12리디렉션: 'follow'13};1415가져오기("mainnet", requestOptions)16.그런 다음(응답 => 응답.text())17.그런 다음(결과 => console.log(result))18.catchcatch (오류 => console.log('error', error));19
1import 요청2import json34url = "mainnet"56페이로드 = json.dumps({7"type": "perpConciseAnnotations"8})9헤더 = {10'Content-Type': 'application/json'11}1213답변 = 요청.요청("POST", url, 헤더=헤더, 데이터=페이로드)1415인쇄(응답.text)16
1import 요청2import json34url = "mainnet"56페이로드 = json.dumps({7"type": "perpConciseAnnotations"8})9헤더 = {10'Content-Type': 'application/json'11}1213답변 = 요청.요청("POST", url, 헤더=헤더, 데이터=페이로드)1415인쇄(응답.text)16
1require "uri"2require "json"3require "net/http"45url = URI("mainnet")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"type": "perpConciseAnnotations"14})1516답변 = https.요청(요청)17응답을 반환합니다.read_body18
1require "uri"2require "json"3require "net/http"45url = URI("mainnet")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"type": "perpConciseAnnotations"14})1516답변 = https.요청(요청)17응답을 반환합니다.read_body18