If your Person is an NDB model, e.g.
class Person(ndb.Model):
firstname = ndb.StringProperty()
lastname = ndb.StringProperty()
...
Then you could do this in your request handler:
def post(self):
person = Person(**self.request.params)
person.put()
But, I would advise againts this, or do at least some pre-filtering
sanitizing request.params before instantiating Person.
> --
> You received this message because you are subscribed to the Google Groups "webapp2" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
webapp2+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>