views:

34

answers:

1

Is there a .net equivalent for urllib I used in Python?

I've seen WebRequest and WebResponse classes but I wonder if there is a simpler wrapper. In urllib you can use dictionary object (tupple) to set POST parameters while in .Net one must fiddle with streams.

Is there any free, small web client library available for .net?

+2  A: 

You can use Webclient's UploadValues() or UploadString().

svick