Hi,

I have some sort of API that allows a client to change the properties
of an entity via HTTP GET request. A typical request looks like this -
>

http://mylittleapp.appspot.com/api/setItemInfo/?key=super_secret_key&id=entity_id&title=new_title

The Entity's title property is usually null and gets set by the HTTP
GET request. I fetch the entity, change the title property and use
model.put() to save it.

Sometimes this does not happen (title remains null) but there is no
exception and the client gets a 200 response. But if I retry the
specific GET request the title property will be saved.

Does model.put() ever raise any exceptions or do I need to use
db.put(model)?

Best Regards
Philip

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to