     
     json = httpTo(url, data: fileData!,
       contentType: "application/stream",
-         accessToken : accessToken.stringValue,
       method: "PUT", statusCode: statusCode)
     
     var objects: AnyObject =

      viewerUrl + "/authentication/v1/authenticate",
      data: body!.dataUsingEncoding(NSUTF8StringEncoding)!,
      contentType: "application/x-www-form-urlencoded",
        accessToken : "",
        method: "POST",
      statusCode: nil)
    

    json = httpTo(viewerUrl + "/viewingservice/v1/register",
      data: body.dataUsingEncoding(NSUTF8StringEncoding)!,
      contentType:"application/json; charset=utf-8",
      method:"POST",
      statusCode: statusCode)
  }
