Difference between revisions of "JSON"

From wikieduonline
Jump to navigation Jump to search
 
(13 intermediate revisions by 4 users not shown)
Line 2: Line 2:
  
  
  [[curl]] --header "Content-Type: application/json" \
+
  [[curl]] [[--header]] "[[Content-Type]]: application/json" \
 
   --request POST \
 
   --request POST \
 
   --data '{"username":"xyz","password":"xyz"}' \
 
   --data '{"username":"xyz","password":"xyz"}' \
 
   http://localhost:3000/api/login
 
   http://localhost:3000/api/login
  
*<code>curl -H "Content-Type: application/json" --data @MY_FILE_WITH_DATA.json http://localhost:8080/ui/webapp/conf</code>
+
* <code>curl -H "Content-Type: application/json" --data @MY_FILE_WITH_DATA.json http://localhost:8080/ui/webapp/conf</code>
  
 +
 +
* <code>[[jq]]: [[brew install jq]]</code>
 +
* <code>[[jid]]: [[brew install jid]]</code>
  
 
== Related terms ==
 
== Related terms ==
* [[MongoDB]]
 
* [[Elasticsearch]]
 
* [[Zabbix API]]
 
 
* [[Webhook]]
 
* [[Webhook]]
 +
* <code>[[jq]], [[jid]], [[mlr]]</code>
 
* <code>[[JSMin]]</code>
 
* <code>[[JSMin]]</code>
 
* [[HAR (file format)]]
 
* [[HAR (file format)]]
 
* [[Django]] [[web framework]]
 
* [[Django]] [[web framework]]
 
* [[Python]]: <code>[[import json]]</code>
 
* [[Python]]: <code>[[import json]]</code>
* [[Kubernetes]]
 
 
* [[Miller]]
 
* [[Miller]]
 +
* Line-delimited JSON: [[ndjson]]
 +
* [[JSON-LD]]
 +
* <code>[[to_nice_json]]</code>
 +
* <code>[[Cannot unmarshal XXXXX into Go struct field]]</code>
 +
* <code>[[.tf.json]]</code>
 +
* [[Chrome]]: [[JSON Formatter]]
  
 
== See also ==
 
== See also ==
Line 28: Line 34:
 
* {{XML}}
 
* {{XML}}
  
[[Category:Computing]]
+
[[Category:JSON]]

Latest revision as of 08:34, 16 March 2023

Advertising: