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

From wikieduonline
Jump to navigation Jump to search
(Created page with " curl -X POST --data")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 +
 
  [[curl -X]] [[POST]] [[--data]]
 
  [[curl -X]] [[POST]] [[--data]]
 +
 +
 +
== Related ==
 +
* [[JSON-RPC]]
 +
* [[Avalanche API]]
 +
{{Info.isBootstrapped}}
 +
 +
 +
== Errors ==
 +
invalid content type, only [[application/json]] is supported
 +
 +
== See also ==
 +
* {{cURL}}
 +
 +
[[Category: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: