Testing RESTful controllers can be diffucult. Fortunately, Laravel makes creating these controllers incredibly easy. But at the end of the day, you still have to make POST requests to the controller in order to test its functionality.
For me, it makes more sense to build the controller BEFORE the UI itself, therefore when I'm writing the controllers, I don't have
s ready to send requests to the controller. A fancy Chrome extension called Postman does this for me! All I have to do is fill in the request information, and let Postman do the work.
Check out GetPostman.com to download and play with the powerful extension!