I’m trying to set up a proxy redirect to the GeoNames API and I’ve tried to follow examples on here and various posts on the Netlify website but cannot seem to get this working.
My netlify.toml
looks as follows:
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[redirects]]
from = "/postalCodeSearchJSON"
to = "http://api.geonames.org/postalCodeSearchJSON"
status = 200
force = true
And this is my instance https://vibrant-pike-a43a20.netlify.com/
I’m really praying this isn’t going to be something to do with the fact that the API isn’t on https and that it’s just something silly I’ve done! It doesn’t look like they have a secure version
Any help would be really appreciated