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

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
  
 +
== Related ==
 +
* [[JSON-RPC]]
 +
* [[Avalanche API]]
 +
{{Info.isBootstrapped}}
  
  
{{Info.isBootstrapped}}
+
== Errors ==
 +
invalid content type, only [[application/json]] is supported
  
 +
== See also ==
 +
* {{cURL}}
  
 
+
[[Category:cURL]]
 
 
{{cURL}}
 

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: