Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 153091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:44:22+00:00 2026-05-11T09:44:22+00:00

This is something I am curious about since I learnt how to invoke an

  • 0

This is something I am curious about since I learnt how to invoke an url and get a http response so I could parse the results in my application. Something like what Chris M says here:

Faking browser request in ASP.net C#

Now what I am wondering is how can I post a form that I download in this way, filling in the fields of the form.

I don’t really need this for my work, it’s just to kill my curiosity as a programmer 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:44:23+00:00Added an answer on May 11, 2026 at 9:44 am

    The easiest way (in C#) to simulate a form post with values:

    using (WebClient client = new WebClient()) {     NameValueCollection fields = new NameValueCollection();     fields.Add('foo', '123');     fields.Add('bar', 'abc');     client.UploadValues(address, fields); } 

    Just for completeness, jQuery can do it more efficiently again…

    $.post(address, { foo: '123', bar: 'abc' } ); 

    If you want to inspect the html to create your POST, either use WebBrowser and automation, or use the Html Agility Pack to look at it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ever since I started programming this has been something I have been curious about.
This is something I'm not much consistent about and always curious about what other
This is something that I have always wondered about, but never bothered to profile.
i'm just curious about something.I'm using hsql in myproject (embedded of course).At some time
I am currently learning jQuery, and I am curious about something. For functions that
Since working with Android I'm curious about how I can let Android do everything
Something I have been curious about for quite sometime now. How exactly do you
Well I was curious about this and searched for a while but couldn't find
Something like var life= { users : { guys : function(){ this.SOMETHING.mameAndDestroy(this.girls); }, girls
This is something I've pseudo-solved many times and have never quite found a solution

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.