How to add Post and Get functionality to a .Net website

Posted on 2011-05-08
Last Modified: 2012-05-11
I am trying to post information on a website, but for some reason, the website is not taking it.  How do I add Post or Get functionality to a website without it malfunctioning on a IIS7 server?  I am working with a website that has no .Net code and I do not intend to change it, just to get it working and that is all.  It has all html pages and javascript with post functions.  What do I change in the web.config file in order for things to work out correctly?  Please let me know, thank you!
Question by:VBBRett
    LVL 18

    Accepted Solution

    HTTP GET and HTTP POST Are Disabled by Default
    LVL 18

    Assisted Solution

    Add the following highlighted element to the Web.config file.

          <add verb="GET,POST" path="*.sample"
            type="HandlerFactory" />

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on could not pull conte…
    In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video discusses moving either the default database or any database to a new volume.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now