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.
var %file = path/to/file
.remove $qt(%file)
noop $JSON(name, %file).HttpBodyToFile
Last edited by FroggieDaFrog; 23/10/20 11:12 PM.