title: Alamofire 4.3 can't send JSON request
body: <p>Iam Trying to send a JSON request using Alamofire but it's not working as a JSON Request here's my JSON  :</p>
  
  <pre><code>{"ClientID":"55050","AdminId":"myemail","Password":"123"}
  
  content-type →  application/json; charset=utf-8
  </code></pre>
  
  <p>and here's my code : </p>
  
  <pre><code>import Alamofire
  
  func doLogin(username:String ,password:String) {
      let parameters = ["ClientID":"55050" , "AdminId":username,"Password":password]
  
      Alamofire.request("myurl.com", method: .post, parameters: parameters, encoding: JSONEncoding(options: []) ).responseJSON(completionHandler: {
          response in
          print(response)
      })
  </code></pre>
  
  <p>and here's the response which i am getting </p>
  
  <p><code>FAILURE: responseSerializationFailed(Alamofire.AFError.ResponseSerializationFailureReason.jsonSerializationFailed(Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around character 3." UserInfo={NSDebugDescription=Invalid value around character 3.}))</code></p>