Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
How To Handle POST Requests in a Pluggable Protocol Handler
Article ID: 280522 - View products that this article applies to.
This article was previously published under Q280522
It is sometimes desirable to have a pluggable protocol as the target of FORM POST requests. This article outlines how to handle POST requests in an asynchronous pluggable protocol handler (APPH).
The APPH receives the POST data (by way of URLMON) from the client as part of the BINDINFO structure, as described in the following article in the Microsoft Knowledge Base:
165800In addition, the MIME type of the POST data can be retrieved by means of the IInternetBindInfo::GetBindString method with a first parameter of BINDSTRING_POST_DATA_MIME.
(http://support.microsoft.com/kb/165800/EN-US/ )PostMon.exe Demonstrates How to Use URL Moniker to POST Data
With this background information, you can use the following code to obtain the POST data from within an APPH's IInternetProtocol::Start() method:
For additional information, see the following articles on the Microsoft Developer Network:
Asynchronous Pluggable Protocols OverviewFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Article ID: 280522 - Last Review: November 16, 2012 - Revision: 4.0