macro.requestHeaders

From RPTools Wiki
Jump to navigation Jump to search

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.