A rest API POST requires a signature for auth and one of the parameters for the signature is the length of the JSON body that is sent with the request.
In Java, the body