Skip to content

Instantly share code, notes, and snippets.

@chasers
Created December 22, 2021 13:14
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/a699610fb09ab9f2c0a8b61498951711 to your computer and use it in GitHub Desktop.
Save chasers/a699610fb09ab9f2c0a8b61498951711 to your computer and use it in GitHub Desktop.
Ingest any JSON with Logflare
curl -X "POST" "https://api.logflare.app/logs/json?source=SOURCE_UUID" \
-H 'Content-Type: application/json; charset=utf-8' \
-H 'X-API-KEY: YOUR_API_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