0

For some reasons I need to make a request string manually:

request += "?"
for (key, value) in updatedParameters
{
     request.append("\(key)=\(value)&")
}

and then pass it to Alamofire.upload. It works fine unless value contains cyrillic letters. Is there any way to encode request string so the request will work?

Eduard
  • 516
  • 1
  • 4
  • 17
  • @EricAya Looks like it is. What should I do with my question now? Delete? – Eduard Jan 25 '17 at 15:33
  • No need to delete, it's now marked as a duplicate of the other post - it can be useful for future readers, depending how they search. :) – Eric Aya Jan 25 '17 at 15:52

0 Answers0