Sending Test Email on Mailgun Returns 404 Not Found
<p>Can get some assistance on send my first email? Below is what I am trying to send. I am not sure if I am supposed to use created subdomain mg.example.com or example.com. The domain is 'active' and 'verified' in the mailgun dashboard.</p>

<p>Also there is a 'key' prefix before the api private key in the mailgun.org dashboard. Is this included in the cURL argument? I am on Windows 10.</p>

<p>This is the mailgun sample curl cmd from <a href="https://documentation.mailgun.com/quickstart-sending.html#send-via-api" rel="nofollow">their quickstart</a>:
<code>
curl -s --user 'api:YOUR_API_KEY' \
    https://api.mailgun.net/v3/YOUR_DOMAIN_NAME/messages \
    -F from='Excited User &lt;mailgun@YOUR_DOMAIN_NAME&gt;' \
    -F to=YOU@YOUR_DOMAIN_NAME \
    -F to=bar@example.com \
    -F subject='Hello' \
    -F text='Testing some Mailgun awesomness!'
</code></p>

<p>This is my version of it:</p>

<pre><code>````
curl -s --user 'api:key-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
    https://api.mailgun.net/v3/mg.example.com/messages \
    -F from='Excited User &lt;mailgun@example.com&gt;' \
    -F to=me@gmail.com \
    -F to=bar@example.com \
    -F subject='Hello' \
    -F text='Testing some Mailgun awesomness!'
````
</code></pre>

<p>I have also tried this version with both mg.example.com and example.com as the url. This is the response:</p>

<pre><code>````
curl -s --user 'api:key-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
https://api.mailgun.net/v3/example.com/messages from='Excited User &lt;mailgun@example.com&gt;'
to=you@gmail.com to=bar@example.com subject='Hello' text='Testing some Mailgun awesomness!'
````
</code></pre>

<p>This is the error I am getting:</p>

<pre><code>    ````
    HTTP/1.1 405 METHOD NOT ALLOWED
server: nginx
date: Sun, 25 Sep 2016 11:40:43 GMT
content-type: text/html; charset=utf-8
content-length: 182
connection: close
allow: POST, OPTIONS

&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"&amp;gt;
&amp;lt;title&amp;gt;405 Method Not Allowed&amp;lt;/title&amp;gt;
&amp;lt;h1&amp;gt;Method Not Allowed&amp;lt;/h1&amp;gt;
&amp;lt;p&amp;gt;The method GET is not allowed for the requested URL.&amp;lt;/p&amp;gt;
    ````
</code></pre>

<p>First time ever doing this. Thanks for any help.</p>