Bloodbath API
Search…
Bloodbath API
Getting started
Acquire your API key
Schedule your first event
Being on the beta release
API
Working with REST
Working with GraphQL
Open source libraries
Ruby
Python
Node
FAQ
What protocols can be used?
What's the maximum payload size?
What's the correct format to build headers?
Wrong format when sending my body over the REST API
Powered By
GitBook
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
1
"{\\"valid\\": \\"json-format\\"}"
Copied!
Upon receiving a bad JSON format, Bloodbath API will refuse adding your event and output a clear error.
FAQ - Previous
What's the maximum payload size?
Next - FAQ
Wrong format when sending my body over the REST API
Last modified
7mo ago
Copy link