How to test a POST request to save data?


#1

The documentation shows an example of how to test a GET HTTP request.

What is the strategy to test a POST request to this endpoint for instance which is a result of Route.resource('users', 'UserController'):

Route.post('users', 'UserController.store')

Just give me the idea.
Thank you


#2

I answer my own question: I think I can just use the send() method mentioned in the documentation. That should do the job, I will give updates when I implement a simple test.