Hello everyone I wish you all the best. Please help me if there is someone more experienced than me here.
I am trying to implement functionality so that my plugin can write data to a JSON file that the user will send an asynchronous request.
I need to store a JSON file in cms files. I need to write a plugin that will accept an asynchronous request with a new JSON file, and update the JSON file on the server.
- Where do I store the JSON file?
- What code do I need to write in my plugin to get the contents of the JSON file?
- What code do I need to write in my plugin to edit the JSON file?
I’m sorry if I made grammatical mistakes, my knowledge of English is not at the highest level.