For me, it's good that the API returns 200 OK and a dict with the errors. Why do you think 404 would be a good status code? The URL exists, you just called it with data that did not validate. Still, if that's what you really want just check for errors in the validate_and_insert and "raise HTTP(404)" if there are any.
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.