I made a self-hosted API for crud-ing json data (initially for simple storage use cases). However, I started using to mock APIs, where I have scripts that create/edit random jsons and I make them available as API endpoints through this application.
The API is based on your JSON structure. So the example below is for CRUD-ing [key1][key2] in file.json. The value (which can be anything) is then added to the body of the request. Moreover, there are helper functions for appending and incrementing values.
The API is based on your JSON structure. So the example below is for CRUD-ing [key1][key2] in file.json. The value (which can be anything) is then added to the body of the request. Moreover, there are helper functions for appending and incrementing values.