Javascript fetch vs Freemarker http.client.request issues
I'm having issues with permissions with a Freemarker http.client.reques that works fine as a Javascript fetch. Javascript (returns result as expected): let myHeaders = new Headers();
...
There is an "Allowed domain names" setting in admin. I think you just need to add your domain name there "apisite.com" in your example. It's found in Community Admin, under System > HTTP Client