0

I looked that the docs, but it is not clear to me how the file is actually transferred. Just having a path listed in an xml post doesn't explain to me how the file gets added to the FB case.

Perhaps I am missing something - I am not a web developer - just a low level C++ developer.

(Perhaps a specific example of the entire contents of a "new" command would be useful here...)

flag

2 Answers

1

The specific RFC docs for multipart/form-data posts should show you how to do it.

If you grab the source for API Tester, you can see what the HTTP conversation should look like for such a post.

You do have to end up sending the actual "bytes" in the POST.

link|flag
(I was never a big fan of RFCs for readability) So basically I read in the file and send the content? Hopefully this can be done with our minidump files. – Tim Mar 11 2010 at 3:06
0

The issue I'm having is that I'm not using a web interface to submit the bugs. I'm using a WinForm (C#) application. Does this means that I'll need to create an http response object (or whatever... I've yet to find out) and encode the attached file? Do you have any examples of that?

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.