macro.responseHeaders: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Initial creation)
 
(Initial creation)
 
(No difference)

Latest revision as of 23:59, 27 January 2024

The variable macro.responseHeaders holds a (possibly empty) JSON Object which contains all headers returned by an MTscript macro when called by the XMLHttpRequest() and fetch() functions.

Additional details on how this variable is used when a macro is invoked from JavaScript are available in the XMLHttpRequest() and fetch() pages.