I have a simple react app which contains a form which posts to a REST api (hosted on an EC2 instance on AWS). This works when I serve the app on my local machine and I can see the API being dealt with on the EC2 machine, however when I deploy the same site via Netlify the API call never seems to occur. I am not sure how to debug this, since it works with my local deployment fine. The website deploys cleanly but the API call appears to be failing to function. The API settings should be fine - it is set to accept calls from anywhere (whilst I try to get this working).
Any help would be greatly appreciated.
- Netlify instance name: vigilant-blackwell-67544d