Prior to this, the coverage was missing and it could happen that without the
right IN-PROGRESS header, the api call would badly fail.
This fixes that behavior to actually accept (empty post + IN_PROGRESS false) or
fail the request (empty post no IN_PROGRESS at all). And adds the proper tests
around those scenarios.