Added request formats configuration

Issue #380