Is it possible to update information in a JSON file when a request is made to it (for example, a request to file.json )? Is any code executed in such a file? Or what other ways are there to update this file when prompted?
- Only if it is a server script that issues a JSON response. The JSON file itself will not be executed on the server, unless you configure it for the server through an extension or in the rules in .htaccess - Daniel Protopopov
- @DanielProtopopov, and how could this be configured via .htaccess? - StartProg
|