Custom UI5 tooling middleware extension for proxying HTTP requests to remote services during local development. Version 2.1.0 supports HTTP basic authentication, self-signed certificates, and debug logging. Released on npm, active maintenance. Key differentiators: simple YAML configuration, native integration with UI5 Tooling's middleware lifecycle, and optional .env file support via dotenv. Compared to generic proxies, it is tailored for UI5 projects and works seamlessly with openui5-sdk-docker.
npm install ui5-middleware-http-proxyNo compatibility data collected yet for this library.
Install, register in package.json, and configure middleware in ui5.yaml with basic auth and debug enabled.
Monitor repository for updates that replace request with a modern HTTP client.
Prefix your auth values with 'env:' to use environment variables, e.g., `user: env:MY_USER`.
Explicitly set `secure: false` in the configuration if you need to accept self-signed certificates.
Ensure that `mountPath` and `configuration.path` are consistent; typically both set to the same value (e.g., '/resources').
Run npm install --save-dev ui5-middleware-http-proxy and add "ui5": { "dependencies": ["ui5-middleware-http-proxy"] } to your package.json.Add `afterMiddleware: compression` (or another valid middleware) to each custom middleware entry.
Verify the target service is running and the baseUrl/port is correct. Use `debug: true` to see the proxied URL.