Hi
I have a JSON that includes a "headers" key.
All the keys and values in the "headers" value should be sent as an HTTP request header.
For example, I have this JSON.
{"menu": {
"id": "file",
"value": "File",
"popup": {
"menuitem": [
{"value": "New", "onclick": "CreateNewDoc()"},
{"value": "Open", "onclick": "OpenDoc()"},
{"value": "Close", "onclick": "CloseDoc()"}
]
},
"headers": {"Accept-Charset": "utf-8",
"Accept-Language": "en-US",
"N_header_key":"n_header_val"}
}}
I want to send all the values of "headers" as HTTP request headers using invokeHTTP.
Is there any way to send the headers dynamically?