phax / phoss-directory

The official Peppol, TOOP and DE4A Directory software
Apache License 2.0
17 stars 6 forks source link

Add CORS support to REST API #68

Closed swftvsn closed 2 months ago

swftvsn commented 2 months ago

Hi,

we'd like to use the API to validate the address the user inputs in our system. This is done in the client in browser and is now blocked due to missing CORS headers.

Please add Access-Control-Allow-Origin: * header to API response, if the API is considered to be open to use to enable the usage directly from browser apps.

Thank you!

phax commented 2 months ago

Yes makes sense. Thanks for the hint

phax commented 2 months ago

Implemented in the upcomoing 0.13.5 version. I don't know when it will be deployed on Peppol servers. Please consult the Peppol Service Desk for that matter - thanks :)