Here some code:
var URL: NSURL = NSURL(string: \"http://stackoverflow.com\") var request:NSMutableURLRequest = NSMutableURLRequest(URL:URL) request.HTTPMetho
No different than in Objective-C, HTTPBody expects an NSData object:
var bodyData = "key1=value&key2=value&key3=value" request.HTTPBody = bodyData.dataUsingEncoding(NSUTF8StringEncoding);
You'll have to setup the values & keys yourself in the string.