On Dec 29, 2010, at 9:34 PM, Pascal Robert wrote:
> You are making it harder that it should :-) If a "Post" is a EO etablished
> as a relationship to User, you don't need to create custom routes to create
> related objects. Check the Movies and ERRestRouteExample from Wonder for good
> examples of how to implement routes.
Ok, so this should have a route already then eh?
So, if I access the json for a specific user, I should be able to add to a To
Many?
I keep wanting to try something like this?
curl -X POST -d "{ posts:{title:'New Post'}}"
http://10.0.1.3:5999/cgi-bin/WebObjects/WOMan.woa/ra/u/jtayler.json
Am I on the right track there? Add a new post to access a user by the username
'jtayler', -- a route I just wrote?
I get a missing route error--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]