Created
December 22, 2021 13:14
-
-
Save chasers/a699610fb09ab9f2c0a8b61498951711 to your computer and use it in GitHub Desktop.
Ingest any JSON with Logflare
This file contains 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=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