title: Delete email using mailinator API
body: <p>I am creating application to access public emails in mailinator. I can view emails but I have difficulties when I am trying to delete them.</p>
  
  <p><a href="https://mailinator.com/apidocs.jsp" rel="nofollow">https://mailinator.com/apidocs.jsp</a> all examples from documentacion worked except this one.</p>
  
  <p>I have code to POST Http request:</p>
  
  <pre><code>        using (var client = new HttpClient())
          {
              var values = new Dictionary&lt;string, string&gt;
          {
             { "msgid", id}
  
          };
  
              var content = new FormUrlEncodedContent(values);
  
              var response = await client.PostAsync("https://api.mailinator.com/api/delete?", content);
  
              var responseString = await response.Content.ReadAsStringAsync();
  </code></pre>
  
  <p>}</p>
  
  <p>Only error it throws is (405) Method Not Allowed. or Method is not supported by this URL.</p>
  
  <p>So I guess either my url that I'm sending is bad, either my code. </p>
  
  <p>I need some help to figure it out.</p>