this looks problematic. IIRC, `items()` does not guarantee consistent ordering. so whatever you are expecting to be at `items()[0]` may not be the first item if other (unexpected) post args are provided.
this also does not handle the case if no post args are provided (which should return a 400 error instead of the 500 error that would result from an unhandled exception