Created
February 26, 2021 20:47
-
-
Save chasers/7dcfb54dc3e8265f0f4deb92371758d2 to your computer and use it in GitHub Desktop.
logflare_curl_json_body
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X "POST" "https://api.logflare.app/logs/json?source=2fd57445-1da3-4f3b-aa29-73da06ed7e67" \ | |
-H 'Content-Type: application/json; charset=utf-8' \ | |
-H 'X-API-KEY: YOUR_KEY' \ | |
-d $'[ | |
{ | |
"yellow": true, | |
"tags": [ | |
"popular, tropical, organic" | |
], | |
"store": { | |
"state": "AZ", | |
"city": "Phoenix", | |
"zip": 85016, | |
"address": "123 W Main St" | |
}, | |
"type": "fruit", | |
"name": "banana", | |
"qty": 12 | |
} | |
]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment