Not working on D9 sites due to services.yml configuration
I set this up along with Form Processor and Form Processor Inlay, on a Wordpress/Civi install and it is working well. So much so that I have set it up in a very similar way to test it out on a D9/Civi site, where I cannot get it to work. Comparing the two, in a search to try to find out why it's not working, I can see that (apart from using a different CMS), the D9 site is running on PHP 8.1 where the working site is on 7.4. Also the version of CiviCRM is a little different on both, with the D9 site running 5.64.1 and the WP site running 5.62.1.
The errors that I can see in the browser console on the page where the remote form is hosted show up when I click the Submit button, and look like:
[Error] Origin https://where.theformishosted.uk is not allowed by Access-Control-Allow-Origin. Status code: 200
[Error] Fetch API cannot load https://mycivi.install.uk/civicrm/inlay-api due to access control checks.
[Error] Failed to load resource: Origin https://where.theformishosted.uk is not allowed by Access-Control-Allow-Origin. Status code: 200 (inlay-api, line 0)
Before I start in on changing the version of PHP I'm running on I thought I'd post this to see if I'm on the right track (or not).