swift - Alamofire PUT isn't working -
i'm using xcode 7 (7a220) , alamofire 2.0.2 carthage installed.
let parameters = ["briefdes": briefdes.text, "jobdetail": detail.text, "skill": skillstf.text] alamofire.request(.put, "http://localhost:2403/postedjob?id=\(jobid.text)", parameters: parameters)
error:
alamofire compiled optimization - stepping may behave oddly; variables may not available.
somewhat related this:
just incase else getting: error: alamofire compiled optimization - stepping may behave oddly; variables may not available.
i getting error when constructing url google geo services. appending street address end of url without encoding street address first. solution:
var streetadress = "123 fake street, new york, ny" var escapedstreetaddress = streetaddress.stringbyaddingpercentencodingwithallowedcharacters(.urlhostallowedcharacterset()) let url = "(self.baseurl)&address=(escapedaddress!)"
that fixed me! didn't address had spaces , commas, etc.
hoping can else!
Comments
Post a Comment