PHRAS-58 Add CORS feature
Merge pull request #1049 from nlegoff/api-cors

[3.8][PHRAS-58] Add CORS feature