Helper to support Mailgun API in iOS