Difference between revisions of "Curl -X POST --data"

From wikieduonline
Jump to navigation Jump to search
 
Line 8: Line 8:
 
* [[Avalanche API]]
 
* [[Avalanche API]]
 
  {{Info.isBootstrapped}}
 
  {{Info.isBootstrapped}}
 +
 +
 +
== Errors ==
 +
invalid content type, only [[application/json]] is supported
  
 
== See also ==
 
== See also ==

Latest revision as of 12:24, 27 October 2024

curl -X POST --data


Related[edit]

curl -X POST --data '{
   "jsonrpc":"2.0",
   "id"     :1,
   "method" :"info.isBootstrapped",
               "params":{
                       "chain":"X"
               }
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info


Errors[edit]

invalid content type, only application/json is supported

See also[edit]

Advertising: