Raffi,

If you have ever worked with DotNet then please help me.

What I do currently is as follows:

-  Set the request type to POST.
-  ContentType to "multipart/form-data; boundary=" + boundary
(generated);
-  Then I add this to the request stream

             L"--"+boundary+L"\r\n"+L"Content-Disposition: form-data;
name=\"image\"; filename=\"test.JPG\" " + L"\r\n"+L"Content-Type:
image/jpg"+L"\r\n\r\n";
- followed by the bytestream of the image.
- Then I continue to add the OAuth params/signature to the stream

All the above are URL encoded.

Twitter responds with a 401 to this request.

What do I have to correct.

Reply via email to