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

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -