I'm building this VueJS app with MirageJS to mock an API and I came up with this issue. I have a /users
endpoint where it handles GET and POST requests. If data is created by a factory, it returns this data. If data is created by a POST request, in a form, I receive a Created - 201
message but when I make a GET request again, this POST created data isn't there. Does MirageJS only persists data created by a factory?
Here is the code
This server dump returns the created data, but when I make a another GET request, it is empty.