AnsweredAssumed Answered

How to get the Header attributes using Webscript ?

Question asked by vesuinfo on Jul 30, 2009
Latest reply on Jul 30, 2009 by vesuinfo
I have seen in AlfrescoWiki that using headers, headersM in web script, we can get the Header Attributes,

headers
    an associative array of all request headers.

headersM
    an associative array of all request headers (where each key is an header name and each value is an array containing all respective header values, even if only one is supplied). See example.

but headerM example refering to the args, argsM example to "http://wiki.alfresco.com/wiki/Web_Scripts_Examples#URL_Argument_Handling" ,

please help me in getting the header Attributes using the headers, headersM ?

Note: I have tried the args, argsM sample it just print the value which i pass in the url.


Thanks,
Saravanan.

Outcomes