public function createURLWildcard(Request $request)
{
$urlWildcardCreate = $this->inputDispatcher->parse(new Message(array('Content-Type' => $request->headers->get('Content-Type')), $request->getContent()));
try {
$createdURLWildcard = $this->urlWildcardService->create($urlWildcardCreate['sourceUrl'], $urlWildcardCreate['destinationUrl'], $urlWildcardCreate['forward']);
} catch (InvalidArgumentException $e) {
throw new ForbiddenException($e->getMessage());
}
return new Values\CreatedURLWildcard(array('urlWildcard' => $createdURLWildcard));
}