how to receive http url encoded post with xml name value pairs included on efax status disposition
Posted on 2008-10-24
I run into this issue and trying to look for answer for weeks.
efax has this feature to post a status of inbound or outbound faxes to an url.
It would pass a single pair name/value pairs in a url encoded post.
Quoted from efax SDK, " Create an application that accepts a URL-encoded HTTP(S) POST containing a single name/value pair where the parameter name equals "xml" and the parameter value contains the XML-formatted data. Pass the XML-formated data to an instance of the InboundClient object ..."
I have setup a page load event to capture any posting and write it to a file.
It was done by stream writing a "request.inputstream" in a aspx web page and able to steam out to a file with my testing xml post, but it failed on efax post.
I have even tried with a generic handler (ashx), by using context.query, but still failed on accepting any posting from them.
So, is there a solution for receiving any url encoded http post?
Million thanks in advace!