Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @Route("/post", name="postMessage")
- * @Method("POST")
- */
- public function postAction(Request $request, EntityManager $em)
- {
- $data = $request->getContent();
- return dump($data);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement