Update http.js

This commit is contained in:
Namhyeon Go 2022-05-06 17:05:10 +09:00 committed by GitHub
parent 1c202a24bc
commit e3505e8cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ var HTTPObject = function(engine) {
this.states = [];
this.variables = {
"uuidv4": RAND.uuidv4,
"base64json": function(v) {
"base64json": function(v) { // e.g. {base64json VARIABLE_NAME}
return BASE64.encode(JSON.stringify(v));
},
"unixnow": function(diff) { // e.g. {unixnow -300} (seconds)