My script.sh contains parameter expansion something like this
variable=${variable/PUT_CONTENT/$data}
This should replace the substring PUT_CO