Upcoming change - Removing duplication of "Access-Control-Allow-Origin" header


If you have been using any of our APIs on the TfNSW Open Data API Gateway, you may be getting duplication of Access-Control-Allow-Origin header in API responses.

A Cross-Site Origin Resource HTTP header was being added that causes requests to be rejected by some web browsers

On 26 Mar at 12 noon, we will be making a change to remove this duplication across all of our APIs.

We do not anticipate that this will impact most users, but are giving 2 weeks notice in case any code changes are required at your end.

© Transport for NSW