tags:

views:

77

answers:

1

I'm looking for a way to submit a post to pastie.org, or pastebin.com from within my C# app, i know ill have to use some sort of http post but im looking for specific examples..

+1  A: 

It might be worth your while to check and monitor the HTTP GET/POST's when using your browser to post sample code/text and intercept the data and find out..Use Wireshark or HTTPWatch. This should give you an idea on what is expected in the HTTP's POST. You would need to set the content-length in the HTTP header to the actual length of the code being submitted, have a look here and here and here.

Wishing you a happy and peaceful 2010. Hope this helps, Best regards, Tom.

tommieb75