Site A (frontend): competent-ardinghelli-0dde0e
Site B (data and function): stoic-galileo-1d5a50
I have the following redirect in the
netlify.toml for Site A:
[[redirects]] from = "/api/search" to = "https://stoic-galileo-1d5a50.netlify.app/.netlify/functions/search" status = 200 force = true
The function takes a single query parameter
term, and I’m hoping to call
While the redirect appears to work, the request fails in browser (Firefox provides an actual error, while others never return or return empty responses):
curl ing the request also produces an error:
curl: (18) transfer closed with 623 bytes remaining to read
The function itself works as expected both locally and when called directly via Site B.
Is there a way for me to proxy from a URL on Site A to a function call on Site B?