Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom HTTP headers in destinations #1

Open
koemaeda opened this issue Dec 24, 2019 · 0 comments
Open

Custom HTTP headers in destinations #1

koemaeda opened this issue Dec 24, 2019 · 0 comments

Comments

@koemaeda
Copy link

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"
      }
    }
  }
koemaeda pushed a commit to koemaeda/localneo that referenced this issue Dec 24, 2019
koemaeda pushed a commit to koemaeda/localneo that referenced this issue Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant