Revert "DRY: Remove some repetition in the ID API POST requests"

This reverts commit 784a8a8fa16b7197217262a70e3d3c3fcdd5b55d.