Sorry, totally forgot about this, and yes... my problem was the lack of
errors at all, so, using APIMaker, which is very convenient, changed insert
and update methods with validate_and_insert, validate_and_update
respectively. Now I can che the errors counter in the response.
On Tuesday, Novemb
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(4
2 matches
Mail list logo