checks body is in key-value format for POST request params