ERAttachment + ERRest -
ERAttachment + ERRest -
- Subject: ERAttachment + ERRest -
- From: Jesse Tayler <email@hidden>
- Date: Thu, 20 Jan 2011 19:53:01 -0500
Shouldn't I be able to upload a file attachment via errest?
A curl test I tried doesn't work:
curl -F "fileupload=@/Users/jtayler/Pictures/jesseheadshot.jpg" http://10.0.1.7:5999/cgi-bin/WebObjects/WOMan.woa/attachments/
And of course, I want to set that to the 'photo' property of 'User' which is a relationship to ERAttachment so I thought I should be talking to the /ra/User.json somehow?
Do I need to create routes or controllers?
thanks for advice -
_______________________________________________
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