hello eveyone,
i have client secrete and secrete key and i am also able to access all api but if try to access Trip Planning API it gives me error of authentication with 401 response code. I am accessing all api with bearer token.
So can anyone of you please guide to authenticate with bearer token or some other ways.
The Trip Planner API isnât designed to be called directly by a web client. The CORS error exists because modern browsers prevent web pages from making âcross-originâ requests for security reasons (i.e. requests between sites of different domains).
Youâll need to write a backend to handle the requests.