Skip to content

Instantly share code, notes, and snippets.

@chasers
Created February 26, 2021 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chasers/7dcfb54dc3e8265f0f4deb92371758d2 to your computer and use it in GitHub Desktop.
Save chasers/7dcfb54dc3e8265f0f4deb92371758d2 to your computer and use it in GitHub Desktop.
logflare_curl_json_body
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