troubleshooting Question

How do you create a dummy post request?

Avatar of markerasmus
markerasmusFlag for United Kingdom of Great Britain and Northern Ireland asked on
Programming
16 Comments1 Solution761 ViewsLast Modified:
I have an ASP.NET web app that handles a HTTP POST request from a separate application.  Due to IIS limitations imposed by our network security I am unable to dubug such a request.  Instead of waiting for the request, how do I create a dummy POST request for my code to manipulate?  

My Page_Load code looks like this;

private void Page_Load(object sender, System.EventArgs e)
            {
                  if(!IsPostBack)
                  {
                        if(Request.Form.Count>0)
                        {
                              autoDeployment=true;
                              Session.Add("CheckUp_Database", Session["CheckUp_Database_NonTrusted"]);
                              this.IntitialisePage();
                              formMain.Visible=false;
                              Response.Write("Auto deployment triggered : ");
                              this.AutoDeployment();
                        }
                        else
                              this.IntitialisePage();
                  }
                  this.SetUserControlEvents();
            }
ASKER CERTIFIED SOLUTION
nbkbar7

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 16 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 16 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros