Distinguish between XML and KVP in POST requests