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

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

    httpTo(viewerUrl + "/utility/v1/settoken",
      data: body!.dataUsingEncoding(NSUTF8StringEncoding)!,
      contentType: "application/x-www-form-urlencoded",
      method: "POST",
      statusCode: statusCode)
  }
