Support Questions

Find answers, ask questions, and share your expertise

Extract dynamic http request headers from json and send it using invokehttp




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",


I want to send all the values of "headers" as HTTP request headers using invokeHTTP. 

Is there any way to send the headers dynamically?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.