ios - Querying multiple values with Alamofire -


i want check both username , password. i'm using mlab api. checking username query working when add password. doesn't work (whether give wrong value, returns ok (http 200)).

api document;

http://docs.mlab.com/data-api/

  let parameters: parameters = ["q" : "{\"uname\" :\"\(tfusername.text as! string)\" }, {\"password\" :\"\(tfpass.text as! string)\"}", "apikey": "2abdhqty1gawiwfvskfjyezvfrheloqi"]       alamofire.request("https://api.mlab.com/api/1/databases/mysignal/collections/cusers", method: .get, parameters: parameters,encoding: urlencoding.default, headers: nil).responsedata{ response in         print(response.response?.statuscode) 


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -