The json script will not overwrite the file if it exists, so you'll need to delete the file before making a call to $json. This is to prevent accidental overwrites.

Code
var %file = path/to/file
.remove $qt(%file)
noop $JSON(name, %file).HttpBodyToFile

Last edited by FroggieDaFrog; 23/10/20 11:12 PM.

I am SReject
My Stuff