lumoslabs / txgh

A library for automatically syncing translation resources between Github and Transifex.
1 stars 1 forks source link

Support form-encoded Transifex payloads #74

Closed camertron closed 6 years ago

camertron commented 6 years ago

https://rollbar.com/lumoslabs/txgh/items/264/

A little while ago Transifex converted their webhook format from application/x-www-form-encoded to application/json. I wasn't aware of the change (because they never announced it), but immediately updated Txgh to handle the new JSON payloads. I recently discovered however that only new webhooks created after a certain date will be sent a JSON payload, while old ones continue to receive form encoded payloads. We should support both.

@lumoslabs/platform