How to read a POST’s raw data

I was tasked with accepting data posted from an AS400 to a web page. The only problem is that for some reason the Request.Form was empty. I’m not sure if this violates the RFC or not but I have to deal with it. Luckily I can adapt with a few short lines. It turns out that this is caused by not using the correct content-type when the request was made. The request.form isn’t parsed unless...

April 13th, 2011 by B.Harding