Edit json programmatically from local python script

Hello!

I’m trying to update values in my json file on my glitch project using post requests from my local python script. Is there any api that let’s me do this or how do I go about this.

To do this you could have a web server on the glitch project, with an API that you write. For example, you could have node express or python flask.

One common problem in writing a file during a web request, is attempting to write to the file before another write has finished, if this is a possibility you’d be better off either a file-locking method, or with a database instead.

Maybe you should think of a solution to this:

Edit JSON programmatically with login values with python