Subj : dump all object keys/values
To   : Mortifis
From : Nightfox
Date : Wed Apr 08 2020 12:29 pm

 Re: dump all object keys/values
 By: Mortifis to All on Wed Apr 08 2020 01:42 am

Mo> How would one show all of the key/values for http_request.query?

To print out the key/values of an object, I usually like to do this (this example assumes it's being run on the telnet terminal:

for (var prop in http_request.query)
  console.print(prop + ": " + http_request.query[prop] + "\r\n");
console.pause();

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com