Would it be possible to add an optional parameter to HTTPRequest to add custom headers ?
i.e. equivalent of something like this in JS:
Code: Select all
$.ajax({
url: 'some/url/on/the/web/',
headers: { 'x-super-spiderbasic-header': 'hello world' }
});
Code: Select all
HTTPRequest(#PB_HTTP_POST, "some/url/on/the/web", "", @MyCallBack(), 0, "'x-super-spiderbasic-header':'hello world'")
Thank you
(Edited: corrected my SB version to mirror the header in the JS version)