GovtNZ\SilverStripe\Api\ApiRequestSerialiser::parseRequestFormat
Signature
private function parseRequestFormat(
$controller )
Parameters
$controller
—
Checks for a supported extension (.json, .xml etc) in the request or header and sets the controller's format property