The client assumes that all post data is JSON, so if it's not JSON/YAML then the post data will cause an error.
The client assumes that all post data is JSON, so if it's not JSON/YAML then the post data will cause an error.