Please sign in to comment.
a new implementation of the SendGrid event endpoint
Batching events from SendGrid is more scalable, but introduces a hiccup: SendGrid doesn't POST a fully valid JSON response body, but rather newline-separated valid JSON strings To compensate for this, we move the SendGrid event Rack endpoint above the ParamsParser and coerce the raw POST data to be valid JSON Generalizes the endpoint to accept future email categories and event types
- Loading branch information...
Showing with 20 additions and 9 deletions.