What's the correct format to build headers?

The headers should be a valid JSON. You have to quote the keys and values and avoid spaces before the : character.

In some clients, you may have to escape the double quotes like so

"{\\"valid\\": \\"json-format\\"}"

Upon receiving a bad JSON format, Bloodbath API will refuse adding your event and output a clear error.

Last updated