Re: grabbing data from a POST
Re: grabbing data from a POST
- Subject: Re: grabbing data from a POST
- From: Stefan Klein <email@hidden>
- Date: Fri, 09 May 2008 09:16:31 +0200
Hi,
you can use request().formValueForKey("Filedata") in your DirectAction
Stefan
Joshua Paul schrieb:
I have data coming into my app via a POST in a DirectAction. I can
obtain the data via:
(WOInputStreamData) this.request().content()
But that's where I'm stumped. Once I've grabbed the raw data, how can
I extract the form information/data from it?
Content-Disposition: form-data; name="Filedata"; filename="image.jpg"
Content-Type: application/octet-stream
ˇÿˇ‡JFIF†€€Cˇ¿ˇƒ
TIA.
--
Josh Paul
email@hidden
twitter: joshpaul
linkedin: joshpaul
NOTICE: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain
legally privileged and confidential information. If the reader of this
message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you
are hereby notified that any dissemination, distribution, copying, or
other use of this message or its attachments is strictly prohibited.
If you have received this message in error, please notify the sender
immediately by replying to this message and please delete it from your
computer.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden