# Accessing API endpoint with CORS restrictions

**URL:** https://community.glideapps.com/t/accessing-api-endpoint-with-cors-restrictions/64643
**Category:** Ask for Help
**Created:** [August 3, 2023, 12:09am UTC](https://community.glideapps.com/t/accessing-api-endpoint-with-cors-restrictions/64643 "2023-08-03T00:09:28Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [August 3, 2023, 1:30am UTC](https://community.glideapps.com/t/accessing-api-endpoint-with-cors-restrictions/64643/2 "2023-08-03T01:30:44Z")

</div>

> [@Google maps distance matrix](https://community.glideapps.com/t/google-maps-distance-matrix/42198/15):
>
> I found the solution guys! @profxeni @gvalero @Robert_Petitto Just append [https://corsanywhere.herokuapp.com/](https://corsanywhere.herokuapp.com/) to your URL. For example: https://corsanywhere.herokuapp.com/https://maps.googleapis.com/maps/api/distancematrix/json?destinations=Fumone&origins=Anzio&units=metric&key=AIzaSyCLxnSvhGjjVPntRcZPhRDTt4SDZZ5m\_PQ Source:

---

_[View the full topic](https://community.glideapps.com/t/accessing-api-endpoint-with-cors-restrictions/64643)._
