Thanks for replying, but I can't find rawInput method anywhere in the
webware code and I'm getting the appropriate error. I haven't looked in
cvs yet is there more current code there that will facilitate getting the
input out of the request?
Thanks for your time,
Mike
> On Mon, 2002-09-30 at 18:35, Michael Beaulieu wrote:
>> How can I access the data that I submit with the POST?
>>
>> for example if I submit with code like below:
>>
>> body = """<some xml>...."""
>> req = HTTP('localhost:80')
>> req.putrequest('POST','/webkit/DAO')
>> req.putheader('Content-type','text/plain; charset="iso-8859-1"')
>> req.putheader('Content-Length',str(len(body)) )
>> req.endheaders()
>> req.send(body)
>>
>> ...and I'd like to read the body in my servlet/page.
>
> self.request().rawInput(1)
>
> Ian
|