[September 21, 2019] by Nikolay Zherdev
This is the huge one. After 2 months of developing Fake.REST can now save, read, update, transform any user data whatever you want with two new features:
In the UI is the new menu item on the left side:
The content of the any store array should be a valid JSON Array. In general work with its items similar to work with methods. You can create new arrays, update it, delete. Same like for methods. How they can be used? Lets see below.
The main purpose of the scripting is to provide basic logic to the method execution. That gives possibility to control user data in the methods. The script environment have an access to the Store Arrays, Request Parameters, And dynamic templates methods. That meakes ability to store, filter and generate any data and make feeling like you work with the real REST API.