Hi. I am trying to set up a Call URL action to the Mailgun API. I've read what I could find on this forum but could not find a solution. The documentation is very basic, I found no examples on how to use the custom POST functionality. This is the format that Mailgun expects using curl:
curl -s --user 'api:YOUR_API_KEY' \
https://api.mailgun.net/v3/YOUR_DOMAIN_NAME/messages \
-F from='Excited User <postmaster@YOUR_DOMAIN_NAME>' \
-F to=recipient-1@example.com \
-F to=recipient-2@example.com \
-F subject='Hello there!' \
-F text='Testing some Mailgun awesomeness!'
Does anyone know how to format a Custom Post using call URL to match this structure? Thank you.
Andreas