PostResource Method
Posts a resource to the specified URL.
Syntax
public func postResource(url: String) throws -> Void
Remarks
This method will post a resource to the specified URL. It will either post a media resource if UpdateFile is specified or an Atom entry if UpdateEntry is specified. UpdateFile takes precedence over UpdateEntry.