Hi guys,
I back on an earlier thread that discussed CB's handling of PUT requests.
http://groups.google.com/group/coldbox/browse_thread/thread/ac4cf6721f22b31c
The topic has come up again with a developer I'm working with and I'm hoping you guys can chime in with your thoughts.
In Luis' video he uses event.getHTTPContent() to get the content of the PUT request. My question is.... for PUT requests, does this CB method grab the key value pairs/params from ColdFusions getHTTPRequestData().content variable or does it read the variables as query string variables??
I"m running into issues with this when receiving a request from an iPhone app. When the iPhone app sends a PUT request, there are no query string variables appended to the URL (params), the content is only sent in the body. When I perform the same PUT using my eclipse plugin, the PUT params are appended to the URL and ColdBox is happy because these are pulled into the request collection. Everything has worked fine for my tests but now i'm wondering if the plugin i'm using is incorrect because it's appending the parameters into the query string.
Can anyone confirm how event.getHTTPContent() is reading the variables for a PUT? i.e from getHTTPRequestData().content or from the query string?
Also, if you could point me in the direction of where getHTTPContent() lies in CB's package path that would be helpful. I haven't been able to find it yet.
Thanks.
Nolan