do not require a JSON object in the HTTP request body if it is not going to be used, fixes #6