macro.requestHeaders: Difference between revisions

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

Latest revision as of 21:55, 27 January 2024

The variable macro.requestHeaders holds a (possibly empty) JSON Object which contains all headers used in XMLHttpRequest() and fetch() calls from the UI functions frame5(), dialog5(), html.frame5(), html.dialog5(), and so forth.

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