Skip to content

Custom HTTP headers in destinations #1

@koemaeda

Description

@koemaeda

Hello! I'm using this for running UI5 applications locally and I have a destination to an SAP system.
However the SAP system has multiple clients and I need to pass an HTTP header "sap-client" to tell it which one I'm accessing.

Example destination:

  "destinations": {
    "sap-erp": {
      "url": "http://10.0.120.31:50000",
      "auth": "MY_USER:MyPassword"
    }
  }

It would be nice to be able to pass/override HTTP headers.
Example destination (suggestion):

  "destinations": {
    "sap-erp": {
      "url": "http://10.0.120.31:50000",
      "auth": "MY_USER:MyPassword",
      "headers": {
        "sap-client": "120",
        "locale": "en-CA",
        "X-Some-Other-Header": "some value"
      }
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions