title: windows server returns 404 when tried to request POST using Alamofire (swift)
body: <p>I am trying to post a json object to my windows server but it returns 404 each time. I'm using the Alamofire library since it's really convenient to use. The server returns 200 (ok) when i try to use the get method and when i send my post request to &quot;https://httpbin.org/post&quot; to test my code. I'm guessing there is something wrong with the server side but i can't figure out what.</p>
  <p>Here is my client side code, in case something is wrong with it:</p>
  <pre><code>let urlSend = &quot;http://171.217.5.232:1015/post&quot;
  let params = [
      &quot;Action&quot;: &quot;sendCode&quot;,
      &quot;Email&quot;: enteredEmail,
      &quot;Code&quot;: code
  ]
  
  AF.request(urlSend, method: .post, parameters: params, encoder: JSONParameterEncoder.default).responseJSON { response in
      debugPrint(response)
  }
  </code></pre>