i am accessing trip planning api https://api.transport.nsw.gov.au/v1/tp/trip with api key. its perfectly working by postman but when i try to access this api by my code i am getting CORS error. error is as below in detail.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource
(Reason: CORS header ‘Access-Control-Allow-Origin’ missing)