SAP-samples / sap-tech-bytes

Accompanying the SAP Developer Advocates "SAP Tech Bytes" initiative.
Apache License 2.0
88 stars 38 forks source link

CORS #9

Closed albravo closed 3 years ago

albravo commented 3 years ago

Hi,

How can I invoke this api from another application in BTP? The request is blocked by CORS policy.

In manifest.yml I have added the following but it doesn't work

env: CORS: > [ { "allowedOrigin":[ { "host":"hostorigin", "protocol":"https" } ], "uriPattern":"^user-api$" } ]

Thanks