Post any questions or concerns you may have for the JavaScript starter project here! Be sure to subscribe for the latest updates.
Hi Chris.
I've explored that option but it seems that it is not possible. The ajax call will fail the pre-flight request since the DHDR proxy server is expecting custom headers upon first contact. Since a) custom headers cannot be sent through a pre-flight request, b) web browsers must send a pre-flight, and c) the proxy server is expecting custom headers, sending a request through a client does not seem like a viable option. As a result, calling the DHDR server should be made through an application's backend.
3 Comment Details