Edited code that handled REST endpoint so that it includes error handling. If there are no errors, the endpoint takes parsed form data and sends it to a Mailgun-specified email address. Mailgun API key, domain, and email address are specified as environment variables.
Edited code that handled REST endpoint so that it includes error handling. If there are no errors, the endpoint takes parsed form data and sends it to a Mailgun-specified email address. Mailgun API key, domain, and email address are specified as environment variables.