Hmm... I think I have figured it out - I just find it so difficult to debug when there are post requests when they are not simple page requests - it did in fact show up in the form scope, but a bit messed up, but I was able to piece it together...
:) Cheers, Hugo -- Hugo Ahlenius fraxinus (at-sign) oxel.net http://www.oxel.net | -----Original Message----- | From: [email protected] [mailto:[email protected]] On Behalf | Of Hugo Ahlenius | Sent: Tuesday, March 31, 2009 20:39 | To: [email protected] | Subject: RE: request body | | | Hi Alan, | | | Are you using a framework to invoke your XMLHttpRequest, or some of your | | own code? | | Yes, it is the ESRI ArcGIS Server Javascript API, which is built on Dojo. | | | Are you calling its send() method with a GET or a POST as the first | | parameter? I think you're saying post. | | This is a method/post - I am seeing this in the headers in the browser as | well. | | | What manner of CF code have you authored to receive this request? Is it | | a CFC with a CFFUNCTION? Or is it a .CFM page? | | Perhaps a few chunks of code from your application would help. | | It is a plain cfm, and I have not authored anything to receive this | request, | more than cfdump. | | /H. | | | | | Al | | | | | | | | Hugo Ahlenius wrote: | | > Hi, | | > | | > I have a javascript api that sends a xmlhttprequest/post - and I am | | trying | | > to parse this using openbd. The post is sent as the body of the | request, | | and | | > it doesn't show up in the cgi/url/form scopes. | | > | | > Does anyone know if I can get to this from the java pagecontext? | | Something | | > like the inputstream? | | > | | > Cheers, | | > Hugo | | > | | > -- | | > Hugo Ahlenius | | > fraxinus (at-sign) oxel.net | | > http://www.oxel.net | | > | | > | | > | | > | | > | | > | | > > | | > | | | | | | | --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
