CORS implementation
Problem this snippet solves: Pretty self-explanatory - we had to implement CORS (Cross-Origin-Resource-Sharing) where we had multiple domains, all of which had to be able to make AJAX calls to API's...
Published Nov 03, 2015
Version 1.0Rory_Hewitt_F5_
Cirrus
Joined May 05, 2019
Rory_Hewitt_F5_
Cirrus
Joined May 05, 2019
Cyril_M
Nov 20, 2018Altostratus
You can put this class definition AFTER the "when HTTP_REQUEST {" and it should be fine