var req = Consumer.PrepareAuthorizedRequest(new
MessageReceivingEndpoint("[url]", HttpDeliveryMethods.PostRequest),
Vimeo.Token, new[]
{
MultipartPostPart.CreateFormFilePart(FILEDATA, "<stream>",
contenttype, filedata)
});
req.Timeout = int.MaxValue;
var res = req.PostMultipart(new StandardWebRequestHandler(), new
List<MultipartPostPart>());
return res.GetResponseReader().ReadToEnd();
I get the following error:
Cannot send OAuth message as multipart POST without an
authorization HTTP header because sensitive data would not be signed.
Also, I have attempted to use
''HttpDeliveryMethods.AuthorizationHeaderRequest'' instead of the post
value, but I reveive the following error:
Cannot send OAuth message as multipart POST without an
authorization HTTP header because sensitive data would not be signed.
Thanks
-brad dunbar