## Intro As [William Durand](https://www.github.com/willdurand/) was recently [explaining in his SOS](http://williamdurand.fr/2014/07/02/resting-with-symfony-sos/), he "_didn't see any other interesting blog post about REST with Symfony recently unfortunately_". After spending some long hours to implement an API strongly secured with oAuth, I thought it was time for me to purpose my simple explanation of how to do it. ## Ok, you know the bundles You might have already seen some good explanation of how to easily create a REST API with Symfony2. There are famous really good bundles a.k.a. : - [FOSRestBundle](https://github.com/FriendsOfSymfony/FOSRestBundle) for RESTing, - [FOSOAuthServerBundle](https://github.com/FriendsOfSymfony/FOSOAuthServerBundle) for security, - [HWIOAuthBundle](https://github.com/hwi/HWIOAuthBundle) for consuming the API, - and [NelmioApiDocBundle](https://github.com/nelmio/NelmioApiDocBundle) to spread the word.