title: How to add Alamofire URL parameters
body: <p>I have a working scenario using Postman passing in URL parameters. Now when I try to do it via Alamofire in Swift, it does not work.</p>
  
  <p>How would you create this url in Alamofire?
  <a href="http://localhost:8080/?test=123" rel="noreferrer">http://localhost:8080/?test=123</a></p>
  
  <pre><code>    _url = "http://localhost:8080/"
      let parameters: Parameters = [
          "test": "123"
          ]
  
      Alamofire.request(_url,
                        method: .post,
                        parameters: parameters,
                        encoding: URLEncoding.default,
                        headers: headers
  </code></pre>